sui_getCheckpoints RPC Method
Parameters
cursor
string
(Optional) Paging cursor to start fetching from the next item after the specified cursor. Defaults to the first item if not provided
limit
integer
(Optional) Maximum number of items returned per page. Defaults to QUERY_MAX_RESULT_LIMIT_CHECKPOINTS if not specified
descendingOrder
boolean
REQUIRED
Query result ordering. Defaults to false (ascending order), oldest record first
Returns
result
object
Paginated list of checkpoints and metadata
data
array
List of checkpoint objects
epoch
string
Checkpoint's epoch ID (BigInt for uint64)
sequenceNumber
string
Checkpoint sequence number (BigInt for uint64)
digest
string
Digest of the checkpoint
networkTotalTransactions
string
Total number of transactions committed since genesis, including those in this checkpoint
previousDigest
string
(Optional) Digest of the previous checkpoint
epochRollingGasCostSummary
object
Rolling gas cost summary for the current epoch until this checkpoint
computationCost
string
Total computation cost
storageCost
string
Total storage cost
storageRebate
string
Total storage rebate
nonRefundableStorageFee
string
Non-refundable storage fee
timestampMs
string
Timestamp of the checkpoint in milliseconds since the Unix epoch
transactions
array
List of transaction digests included in the checkpoint
transactionDigest
string
A single transaction digest
checkpointCommitments
array
Commitments to checkpoint state
validatorSignature
string
Validator signature in Base64 format
nextCursor
string
Cursor for the next page of results
hasNextPage
boolean
Indicates whether there is another page of results
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": "sui_getCheckpoints",7"params": [8"1004",94,10false11]12}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free