Skip to content

Chain and network

Tool Summary
get_chain_info Get current Sui network info: chain ID, epoch, checkpoint height, timestamp, and reference gas price.
get_checkpoint Get a Sui checkpoint by sequence number, digest or timestamp, or the latest if none is given.
  • Title: Get chain info
  • Profile: core (default)
  • Annotations: openWorldHint: true, readOnlyHint: true

Get current Sui network info: chain ID, epoch, checkpoint height, timestamp, and reference gas price. Optionally pass an epoch number to get details for a specific epoch.

Parameter Type Required Description
epoch string no Epoch number to query. Returns current epoch info if omitted.
network mainnet | testnet | devnet no Network: ‘mainnet’ (default) | ‘testnet’ | ‘devnet’
  • Title: Get checkpoint
  • Profile: developer
  • Annotations: openWorldHint: true, readOnlyHint: true

Get a Sui checkpoint by sequence number, digest or timestamp, or the latest if none is given. Returns its timestamp, epoch and network transaction count. Use it to turn a checkpoint number into a time, or a time into a checkpoint: with timestamp it returns the checkpoint nearest that moment, plus the last checkpoint before it and the first at or after it, which are the exact edges for a checkpoint-range filter. query_transactions, query_events, build_timeline and aggregate_events also accept ISO times directly.

Parameter Type Required Description
sequence_number string no Checkpoint sequence number
digest string no Checkpoint digest (Base58)
timestamp string no ISO 8601 time (2025-05-22T12:36:00Z) or ‘now’: return the checkpoint nearest it
network mainnet | testnet | devnet no Network: ‘mainnet’ (default) | ‘testnet’ | ‘devnet’