chain_getBlock - Mythos RPC Method
Retrieve block data by hash on Mythos. Essential for accessing block headers and extrinsics on the gaming blockchain powering FIFA Rivals and NFL Rivals with World ID verification.
Retrieves complete block information from Mythos, including the block header, extrinsics, and justifications.
Why Mythos? Build on the gaming blockchain powering FIFA Rivals and NFL Rivals with World ID verification with World ID proof-of-humanity, Polkadot security, Snowbridge cross-chain bridge, and 1M+ downloads per title.
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 AAA gaming (FIFA Rivals, NFL Rivals, Pudgy Party), player-owned economies, and bot-resistant matchmaking
- Data indexing - Build historical blockchain databases
Best Practices
- Cache block data by hash -- blocks are immutable once finalized on Substrate chains
- Use
chain_getBlockHashfirst to resolve block number to hash before calling this method - Handle
nullresults gracefully for non-existent blocks - Combine with
chain_getFinalizedHeadfor consensus-safe block retrieval
Code Examples
Related Methods
chain_getBlockHash- Get block hash by numberchain_getHeader- Get block header onlychain_getFinalizedHead- Get finalized block hash
Mythos - Web3 Gaming Parachain Documentation
Build on Mythos, the Polkadot gaming parachain powering cross-game NFTs, DAO governance, and play-and-own economies with Dwellir RPC.
chain_getBlockHash
Get block hash by number on Mythos. Essential for converting block numbers to hashes, historical queries, and blockchain navigation on the gaming blockchain powering FIFA Rivals and NFL Rivals with World ID verification.