Home

RC get block by ID

GET
https://dotassethub-playbook.nownodes.io/v1/rc/blocks/{blockId}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Changed. An extrinsic that could not be decoded is no longer dropped. It stays at its own index with a new decodeError object (index, reason, rawHex), without method and args, and with era as an empty object; the response then carries partial: true. Before, such entries were skipped, so every later extrinsic received the previous one's events, success, paysFee and fee. Events emitted after the last extrinsic (poll hook, multi block migrations) were discarded and are now returned in a new top-level afterExtrinsics object with the same shape as onFinalize. A block body the node does not have now returns an error instead of an empty list. Extrinsics that were previously skipped on runtimes with several transaction extension versions, and tuple arguments in events, are now decoded correctly. partial and afterExtrinsics are omitted when not needed, so a block that decodes cleanly looks exactly as before.

Returns relay chain block information for a given block identifier. An entry that could not be decoded is still returned at its own index, with decodeError set, no method or args, and era as an empty object, and the response carries partial: true; its events, success and paysFee come from the block's events, and success is false when the block carried no outcome event for that index. Events emitted after the last extrinsic, by the FRAME poll hook or a multi block migration, are returned in a separate afterExtrinsics object, omitted when the block has none.

Parameters

blockIdstringrequiredpath

Block height number or block hash

eventDocsbooleanquery

Include event documentation

extrinsicDocsbooleanquery

Include extrinsic documentation

noFeesbooleanquery

Skip fee calculation

decodedXcmMsgsbooleanquery

Include decoded XCM messages

paraIdinteger<int32>>= 0query

Filter XCM messages by parachain ID

Response

200OK

Relay chain block information

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured