Parameters
chainId
string
default:"40"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"ots_getBlockDetails"
required
JSON-RPC method name.
params
object
default:["0x1"]
required
The parameters for ots_getBlockDetails: [blockNumber].Positional parameters for ots_getBlockDetails:params[0]: Type: number.params[1]: Type: string.
Returns
Modified block object with additional fields and stripped transaction list.
Block data (similar to eth_getBlockByNumber/Hash but modified).
Block number (hex quantity) or null if pending.
Block hash or null if pending.
Always null in this format to reduce bandwidth.
Base fee per gas (EIP-1559 blocks only).
Number of transactions in the block (as a hex quantity).
Issuance details for the block.
Block reward issued to the miner.
Total ETH issued (blockReward + uncleReward).
Total fees paid by senders in this block (includes base fee; not all fees go to miner).