Home

Get a block by number

POST
https://sei-evm.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns a block identified by number or block tag.

Body

application/json

JSON-RPC request for eth_getBlockByNumber.

JSON-RPC request for eth_getBlockByNumber.

jsonrpcstring2.0required

JSON-RPC protocol version.

methodstringeth_getBlockByNumberrequired

JSON-RPC method name.

paramsArray<string | boolean>required

Ordered method parameters.

Show child attributes

Parameter allowed at this array position.

Any of

Parameter 1.

string

Parameter 2.

boolean
idintegerrequired

Client-selected request identifier.

Response

200OK

Response captured from the live Sei EVM endpoint.

400Bad Request

Invalid request or unavailable result.