Network guides

Aptos & Sui

Aptos and Sui are Move-based but expose different APIs. Use the apt / sui network slugs and the methods listed on each network page.

aptossuiMove

← All guides

Steps

  1. Create an apt or sui endpoint.
  2. Aptos: start from ledger info / latest version methods documented under /apt (REST-style or JSON-RPC depending on catalog entry).
  3. Sui: sui_getLatestCheckpointSequenceNumber then sui_getTransactionBlock.
  4. Always pass the encoding/options objects shown in the method docs.

Sui latest checkpoint (curl)

curl

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_getLatestCheckpointSequenceNumber",
  "params": []
}'

Sui latest checkpoint (JavaScript)

fetch

const response = await fetch('https://holy-burned-sky-sui-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7', {
  method: 'POST',
  headers: { 'content-type': 'application/json' },
  body: JSON.stringify({
    jsonrpc: '2.0',
    id: 1,
    method: 'sui_getLatestCheckpointSequenceNumber',
    params: [],
  }),
});

const data = await response.json();
console.log(data);

Tips

  • Move object IDs and addresses are not EVM 0x accounts — use each chain’s explorers for sample digests.
  • Open /apt and /sui in the sidebar for full method + credit tables.

Related