ots_getBlockDetailsByHash
JSON-RPC method retrieves expanded block details by block hash on the Hyperliquid EVM blockchain. This Otterscan-specific method provides a tailored response for block detail pages in block explorers, including calculated total fees and other aggregated information.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
- block hash (string, required): The hash of the block to retrieve details for
Response
The method returns an enhanced block object with additional calculated fields.Response structure
block
— standard block object with all transactionsnumber
— the block numberhash
— the block hashparentHash
— the parent block hashtimestamp
— Unix timestamp of the blockgasLimit
— maximum gas allowed in the blockgasUsed
— total gas used by all transactionsminer
— address that mined/validated the blockbaseFeePerGas
— base fee per gas (post-EIP-1559)transactions
— array of transaction objectstransactionCount
— number of transactions in the block
issuance
— block reward issuance informationblockReward
— reward for mining the blockuncleReward
— rewards for uncle blocksissuance
— total new ETH issued
totalFees
— total transaction fees collected in the block (in wei)
Usage example
Shell
Example response
Use cases
Theots_getBlockDetailsByHash
method is essential for:
- Block explorers: Display comprehensive block information when accessed by hash
- Block verification: Retrieve detailed information for specific known blocks
- Cross-reference validation: Verify block data using hash identifiers
- Fee reconciliation: Calculate total fees for specific blocks
- Fork detection: Analyze blocks on different chain branches
- Archive queries: Access historical block data by hash
- Integration testing: Verify specific blocks in test scenarios
- Audit trails: Reference specific blocks in compliance reports
- Performance benchmarking: Analyze specific blocks for metrics
- Research tools: Study particular blocks of interest
Body
application/json