Get Block by Number
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns a Mantle L2 block by hex number or supported block tag. Second parameter controls whether transactions contain full objects.
Mantle is an L2: uncles are empty, difficulty is not proof-of-work difficulty, and miner denotes a fee recipient/sequencer-related field.
Example response values are illustrative unless explicitly described as protocol constants; they are not authenticated live NOWNodes responses.
Body
JSON-RPC 2.0 request body. Send as HTTP POST to the endpoint root (/).
jsonrpcstring2.0requiredmethodstringeth_getBlockByNumberrequiredparamsArray<string | boolean>requiredPositional parameters in order: hex block number or tag, fullTransactions boolean.
idintegerrequiredClient-selected JSON-RPC request identifier.
Response
HTTP response containing a JSON-RPC result or a JSON-RPC error object.
JSON-RPC protocol or execution error; may still be delivered with HTTP 200.