ots_getBlockDetails
Hyperliquid node API
ots_getBlockDetails | Hyperliquid EVM
The ots_getBlockDetails JSON-RPC method retrieves expanded block details by block number on the Hyperliquid EVM blockchain. On Hyperliquid EVM.
POST
ots_getBlockDetails
This method is available on Chainstack. Not all Hyperliquid methods are available on Chainstack, as the open-source node implementation does not support them yet — see Hyperliquid methods for the full availability breakdown.
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
ots_getBlockDetails is an Otterscan-namespace method, so the mainstream EVM libraries have no typed helper for it — call it through each client’s raw JSON-RPC request method, as shown below.
Use your own endpoint in your code. The code examples use a placeholder Chainstack endpoint (YOUR_CHAINSTACK_ENDPOINT) — replace it with your own Hyperliquid node endpoint from the Chainstack console. The curl above uses a shared public endpoint for quick checks only; do not use it in production.
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
Last modified on June 24, 2026