lnrpc: modify gettransaction parameters

This commit adds index_offset and max_transactions to the list
of parameters passed during gettransactions call. index_offset
specify transactions to skip and max_transactions the total
transactions returned
This commit is contained in:
Abdullahi Yunus committed 2024-11-20 18:02:00 +01:00
1 parent a4195fa2ce
commit 037db4278a
3 files changed
+3097 -3028

No files matched your search

+32
View File
@@ -2591,6 +2591,22 @@
"in": "query",
"required": false,
"type": "string"
},
{
"name": "index_offset",
"description": "The index of a transaction that will be used in a query to determine which\ntransaction should be returned in the response.",
"in": "query",
"required": false,
"type": "integer",
"format": "int64"
},
{
"name": "max_transactions",
"description": "The maximal number of transactions returned in the response to this query.\nThis value should be set to 0 to return all transactions.",
"in": "query",
"required": false,
"type": "integer",
"format": "int64"
}
],
"tags": [
@@ -2774,6 +2790,22 @@
"in": "query",
"required": false,
"type": "string"
},
{
"name": "index_offset",
"description": "The index of a transaction that will be used in a query to determine which\ntransaction should be returned in the response.",
"in": "query",
"required": false,
"type": "integer",
"format": "int64"
},
{
"name": "max_transactions",
"description": "The maximal number of transactions returned in the response to this query.\nThis value should be set to 0 to return all transactions.",
"in": "query",
"required": false,
"type": "integer",
"format": "int64"
}
],
"tags": [