Docs

chain_getBlock - Manta Atlantic RPC Method

Retrieve block data by hash on Manta Atlantic. Essential for accessing block headers and extrinsics on the ZK Layer 1 on Polkadot enabling private transactions and on-chain compliance identities.

Retrieves complete block information from Manta Atlantic, including the block header, extrinsics, and justifications.

Why Manta Atlantic? Build on the ZK Layer 1 on Polkadot enabling private transactions and on-chain compliance identities with zkSNARK-powered privacy, modular compliance identities, MANTA token staking hub, and end-to-end transaction privacy.

Use Cases

The chain_getBlock method is essential for:

  • Block explorers - Display complete block information
  • Chain analysis - Analyze block production patterns
  • Transaction verification - Confirm extrinsic inclusion for private asset transfers, zkNFTs, on-chain compliance identities, and private parachain asset swaps
  • Data indexing - Build historical blockchain databases

Best Practices

  • Cache block data by hash -- blocks are immutable once finalized on Substrate chains
  • Use chain_getBlockHash first to resolve block number to hash before calling this method
  • Handle null results gracefully for non-existent blocks
  • Combine with chain_getFinalizedHead for consensus-safe block retrieval

Code Examples