multi: return txns first and last indices
In this commit we introduce first and last indices for the tranasctions returned which can be used to seek for further transactions in a pagination style. Signed-off-by: Abdullahi Yunus <abdoollahikbk@gmail.com>
This commit is contained in:
1 parent
cd1df4ac34
commit
762d01536b
13 files changed
+3135
-3044
No files matched your search
@@ -7520,6 +7520,16 @@
|
||||
"$ref": "#/definitions/lnrpcTransaction"
|
||||
},
|
||||
"description": "The list of transactions relevant to the wallet."
|
||||
},
|
||||
"last_index": {
|
||||
"type": "string",
|
||||
"format": "uint64",
|
||||
"description": "The index of the last item in the set of returned transactions. This can be\nused to seek further, pagination style."
|
||||
},
|
||||
"first_index": {
|
||||
"type": "string",
|
||||
"format": "uint64",
|
||||
"description": "The index of the last item in the set of returned transactions. This can be\nused to seek backwards, pagination style."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user