[Block] klay_getHeaderByNumber
Returns information about a header by number. This API works only on RPC call, not on JavaScript console.
NOTE: This API is supported from Kaia v1.7.0.
JSONRPC: klay_getHeaderByNumber
Request
- application/json
Body
Array [
- IntegerBlockNumber
- HexadecimalBlockNumber
- BlockTag
]
params
undefined[]
required
BlockNumberOrTag
object
oneOf
the block number with type integer
number
the block number with type hexadecimal
string
the block tag [latest, pending, earliest]
string