Docs

eth_getBlockByHash - Manta RPC Method

Retrieve complete block data by block hash on Manta Pacific. Essential for ZK application developers, privacy-focused builders, and teams requiring modular scalability building on the modular ZK L2 with Celestia DA delivering the lowest fees for 200+ dApps.

Returns information about a block by hash on Manta Pacific.

Why Manta? Build on the modular ZK L2 with Celestia DA delivering the lowest fees for 200+ dApps with first L2 on Celestia mainnet, ZK-as-a-Service via Universal Circuits, Polygon CDK integration, and modular OP Stack architecture.

Use Cases

The eth_getBlockByHash method is essential for:

  • Block verification - Verify block data using its unique hash
  • Chain reorganization handling - Track blocks during reorgs
  • Cross-chain bridges - Verify block finality for ZK-enabled DeFi, private identity verification, and modular ZK applications via Universal Circuits
  • Deterministic queries - Get consistent block data regardless of chain state

Code Examples

Error Handling

Error CodeMessageDescription
-32602Invalid paramsInvalid block hash format
-32000Block not foundBlock with this hash does not exist