Skip to main content

sui_getCheckpoint RPC Method

Return the first four bytes of the chain's genesis checkpoint digest.

Updated on
Dec 10, 2024

sui_getCheckpoint RPC Method

Parameters

id
string
REQUIRED
The checkpoint identifier, can use either checkpoint digest or sequence number as input

Returns

result
object
Details of the requested checkpoint
epoch
string
Checkpoint's epoch ID (BigInt for uint64)
sequenceNumber
string
Checkpoint sequence number (BigInt for uint64)
digest
string
The Checkpoint digest
networkTotalTransactions
string
Total number of transactions committed since genesis, including those in this checkpoint (BigInt for uint64)
previousDigest
string
(Optional) Digest of the previous checkpoint
epochRollingGasCostSummary
object
The running total gas costs of all transactions included in the current epoch so far until this checkpoint
computationCost
string
The computation cost of transactions
storageCost
string
The storage cost of transactions
storageRebate
string
The storage rebate of transactions
nonRefundableStorageFee
string
Non-refundable storage fee for transactions
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
Request
1
curl --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_getCheckpoint",
7
"params": ["1000"]
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free