ots_getBlockDetails
JSON-RPC method retrieves expanded block details by block number 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 number (integer, required): The block number 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_getBlockDetails
method is essential for:
- Block explorers: Display comprehensive block information pages
- Fee analysis: Calculate and display total fees collected in blocks
- Mining analytics: Track block rewards and issuance
- Network monitoring: Monitor block production and transaction throughput
- Historical analysis: Study block characteristics over time
- Gas price tracking: Analyze gas usage and pricing trends
- MEV analysis: Calculate MEV extraction by comparing fees
- Validator performance: Track validator rewards and efficiency
- Chain analytics: Generate statistics about block utilization
- Research tools: Analyze blockchain economics and fee markets
Body
application/json