suix_queryTransactionBlocks
Return list of transactions for a specified query criteria.
Parameters:
query< TransactionBlockResponseQuery > - The transaction query criteria.
cursor< TransactionDigest > - An optional paging cursor. If provided, the query will start from the next item after the specified cursor. Default to start from the first item if not specified.
limit< uint > - Maximum item returned per page, default to QUERY_MAX_RESULT_LIMIT if not specified.
descending_order< Boolean > - Query result ordering, default to false (ascending order), oldest record first.
Returns:
TransactionBlocksPage< Page_for_TransactionBlockResponse_and_TransactionDigest >
Example:
// Request
curl https://sui.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json"
--data
'{
"jsonrpc": "2.0",
"id": 1,
"method": "suix_queryTransactionBlocks",
"params": [
{
"filter": {
"InputObject": "0x93633829fcba6d6e0ccb13d3dbfe7614b81ea76b255e5d435032cd8595f37eb8"
},
"options": null
},
"HxidAfFfyr4kXSiWeVq1J6Tk526YUVDoSUY5PSnS4tEJ",
100,
false
]
}'
// Result
Last updated
Was this helpful?