Get block by ID
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns block information for a given block identifier (hash or number), including extrinsics, events, and fees. 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
blockIdstringrequiredpathBlock height number or block hash
eventDocsbooleanqueryInclude documentation for events
extrinsicDocsbooleanqueryInclude documentation for extrinsics
noFeesbooleanquerySkip fee calculation for extrinsics
finalizedKeybooleanqueryWhen true (default), include finalized status in response
decodedXcmMsgsbooleanqueryDecode and include XCM messages
paraIdinteger<int32>>= 0queryFilter XCM messages by parachain ID
useRcBlockbooleanqueryTreat blockId as Relay Chain block and return Asset Hub blocks
useEvmFormatbooleanqueryConvert AccountId32 addresses to EVM format for revive pallet events
Response
Block information
Invalid block identifier
Internal server error
Service unavailable