TarifsGitHubTableau de bord

Sui

sui_getCheckpoint20 crédits

Return a checkpoint by id

Réseau: sui

Paramètres

NomTypeDescription
idstringCheckpoint sequence number (as a string) or checkpoint digest.

Valeur renvoyée

Type

object

Checkpoint: epoch, sequenceNumber, digest, networkTotalTransactions, previousDigest, epochRollingGasCostSummary, timestampMs, transactions (digests), checkpointCommitments, validatorSignature.

Exemples de code

curl https://holy-burned-sky-sui-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sui_getCheckpoint",
  "params": [
    "100000000"
  ]
}'