Blocks
getBlockByNumber
Returns block data for a given block number.
POST
/
Body
application/json
jsonrpc
enum<string>
requiredAvailable options:
2.0
method
enum<string>
requiredThe name of the method to be invoked.
Available options:
quai_getBlockByNumber
params
(string | boolean)[]
requiredThe block number.
id
integer
requiredA unique identifier for the request.
Response
200 - application/json
jsonrpc
string
result
object
The block data for the corresponding number.
id
integer
Was this page helpful?