Path Parameters
The block identifier, as the block height or block hash.
Query Parameters
When set to true, every event will have an extra docs property with a string of the events documentation.
When set to true, every extrinsic will have an extra docs property with a string of the extrinsics documentation.
When set to true, the fee won't be calculated for the extrinsics.
When set to false, this will override the chain-config, and omit the finalized key in the response. This can increase performance slightly by avoiding an additional RPC call to the node.
When set to true, this will show the decoded XCM messages within the extrinsics of the requested block.
When it is set, this will return only the decoded XCM messages for the specified origin Parachain Id (originParaId). To activate this functionality, ensure that the decodedXcmMsgs parameter is set to true.
Returns
The block number.
The hash of the block.
The hash of the parent block.
The root of the state trie at the end of the block.
The root of the extrinsics trie at the end of the block.
The identifier of the block author.
An array of objects representing the logs associated with the block.
The type of log.
The index of the log.
The value(s) of the log.
The onInitialize object which contains the following fields:
An array of objects representing the events
The method that triggered the event
The data associated with the event.
An array of objects representing the extrinsics included in the block.
An object containing information about the pallet and method.
The name of the pallet.
The name of the method.
The signature object which contains the following fields:
The signature itself.
The account that signed the extrinsic.
The nonce of the extrinsic.
The arguments passed to the method.
The tip given for the transaction.
The hash of the extrinsic.
The info object which contains the following fields:
The weight object which contains the following fields:
Reference time for the weight.
Size of the proof for the weight.
The class of the extrinsic
The partial fee paid for the transaction.
The kind of the extrinsic.
The era object which contains the following fields:
An array representing the mortal era.
An array of objects representing the events triggered by the extrinsic
The method that triggered the event.
The data associated with the event.
A boolean indicating whether the extrinsic was successful.
A boolean indicating whether the extrinsic pays a fee
The onFinalize object which contains the following fields:
An array of objects representing the events.
The method that triggered the event.
The data associated with the event.
A boolean indicating whether the block is finalized.
(Optional) The decodedXcmMsgs object which contains the following fields:
n array of objects representing messages sent horizontally between parachains.
The origin parachain ID.
The destination parachain ID.
The data of the message.
An array of objects representing messages sent downward from the relay chain to parachains.
The block number at which the message was sent.
The message content.
The data of the message.
An array of objects representing messages sent upward from parachains to the relay chain.
The origin parachain ID.
The data of the message.