Path Parameters
- blockIdstringREQUIRED
The block identifier, as the block height or block hash.
Query Parameters
- eventDocsboolean
When set to
true, every event will have an extradocsproperty with a string of the events documentation.
- extrinsicDocsboolean
When set to
true, every extrinsic will have an extradocsproperty with a string of the extrinsics documentation.
- noFeesboolean
When set to
true, the fee won't be calculated for the extrinsics.
- finalizedKeyboolean
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.
- decodedXcmMsgsboolean
When set to
true, this will show the decoded XCM messages within the extrinsics of the requested block.
- paraIdstring
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
decodedXcmMsgsparameter is set to true.
Returns
- numberstring
The block number.
- hashstring
The hash of the block.
- parentHashstring
The hash of the parent block.
- stateRootstring
The root of the state trie at the end of the block.
- extrinsicRootstring
The root of the extrinsics trie at the end of the block.
- authorIdstring
The identifier of the block author.
- logsarray
An array of objects representing the logs associated with the block.
- typestring
The type of log.
- indexstring
The index of the log.
- valuearray
The value(s) of the log.
- onInitializeobject
The onInitialize object which contains the following fields:
- eventsarray
An array of objects representing the events
- methodstring
The method that triggered the event
- dataarray
The data associated with the event.
- extrinsicsarray
An array of objects representing the extrinsics included in the block.
- methodobject
An object containing information about the pallet and method.
- palletstring
The name of the pallet.
- methodstring
The name of the method.
- signatureobject
The signature object which contains the following fields:
- signaturestring
The signature itself.
- signerstring
The account that signed the extrinsic.
- noncestring
The nonce of the extrinsic.
- argsobject
The arguments passed to the method.
- tipstring
The tip given for the transaction.
- hashstring
The hash of the extrinsic.
- infoobject
The info object which contains the following fields:
- weightobject
The weight object which contains the following fields:
- refTimestring
Reference time for the weight.
- proofSizestring
Size of the proof for the weight.
- classstring
The class of the extrinsic
- partialFeestring
The partial fee paid for the transaction.
- kindstring
The kind of the extrinsic.
- eraobject
The era object which contains the following fields:
- mortalEraarray
An array representing the mortal era.
- eventsarray
An array of objects representing the events triggered by the extrinsic
- methodstring
The method that triggered the event.
- datastring
The data associated with the event.
- successboolean
A boolean indicating whether the extrinsic was successful.
- paysFeeboolean
A boolean indicating whether the extrinsic pays a fee
- onFinalizeobject
The onFinalize object which contains the following fields:
- eventsarray
An array of objects representing the events.
- methodstring
The method that triggered the event.
- dataarray
The data associated with the event.
- finalizedboolean
A boolean indicating whether the block is finalized.
- decodedXcmMsgsobject
(Optional) The decodedXcmMsgs object which contains the following fields:
- horizontalMessagesarray
n array of objects representing messages sent horizontally between parachains.
- originParaIdstring
The origin parachain ID.
- destinationParaIdstring
The destination parachain ID.
- dataobject
The data of the message.
- downwardMessagesarray
An array of objects representing messages sent downward from the relay chain to parachains.
- sentAtstring
The block number at which the message was sent.
- msgstring
The message content.
- dataobject
The data of the message.
- upwardMessagesarray
An array of objects representing messages sent upward from parachains to the relay chain.
- originParaIdstring
The origin parachain ID.
- dataobject
The data of the message.