suix_queryTransactionBlocks RPC Method
Parameters
query
object
REQUIRED
The event query criteria. To know more visit here: https://docs.sui.io/sui-api-ref#transactionblockresponsequery
digest
string
A representation of a 32 byte digest
limit
integer
Maximum number of items 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
result
object
The result object which encapsulates the response data from the query, including details about events, pagination, and metadata
data
array
An array containing details about each event, including transaction information, module metadata, and parsed JSON data
digest
object
A representation of a 32 byte digest
nextCursor
string
Indicates the cursor value for fetching the next set of results in pagination
hasNextPage
boolean
A flag indicating whether there are more events to query in the next page
Request
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"id": 1,6"method": "suix_queryTransactionBlocks",7"params": [8{9"filter": {10"InputObject": "0x93633829fcba6d6e0ccb13d3dbfe7614b81ea76b255e5d435032cd8595f37eb8"11},12"options": null13},14"9YBN13tUMgQrhiAMuLqLiKJ2jXfjMJQJYXZwJKpx1as2",15100,16false17]18}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free