Caducues EVM JSON-RPC
eth
getBlockByNumber
1min
POST
Authentication
Authorization
Header Parameters
Content-Type
Body Parameters
body
Responses
200
Updated 25 Mar 2024
Did this page help you?
Returns information about a block by block number.
Parameters
QUANTITY|TAG
- integer of a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.
Boolean
- If true
it returns the full transaction objects, if false
only the hashes of the transactions.
params: [
'0x1b4', // 436
true
]
Returns
See eth_getBlockByHash