Skip to main content

Parameters

chainId
string
default:"sui"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"suix_queryTransactionBlocks"
required
JSON-RPC method name.
params
object
required
Parameters for suix_queryTransactionBlocks: [query, cursor, limit, descending_order]. The query object specifies the criteria, while cursor, limit, and descending_order are optional pagination and ordering parameters.Positional parameters for suix_queryTransactionBlocks:
  • params[0]: Transaction query criteria (TransactionBlockResponseQuery).
  • params[1]: Optional paging cursor (TransactionDigest). If provided, the query will start from the next item after the cursor.
  • params[2]: Maximum number of items returned per page. Defaults to QUERY_MAX_RESULT_LIMIT if not specified.
  • params[3]: Determines the ordering of results. Default is false (ascending order, oldest record first).

Returns

result
object
Response object for suix_queryTransactionBlocks. Contains a page of TransactionBlockResponse objects and pagination info.