Path Parameters
Query Parameters
A boolean representing whether or not to get the finalized head. If it is not set the value defaults to true. When set to false it will attempt to get the newest known block, which may not be finalized.
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 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 unique identifier of the block
The hash of the previous block in the chain
The root of the state trie after the block's execution
(Optional) The root of the Merkle tree containing all extrinsics in the block, or null when not present
The identifier of the block author or the validator who created this block
An array of log items associated with the block. Each log entry contains:
The type of log
An index or identifier for the log
The log's content or value
The events triggered during the block's initialization phase. It contains:
An array of event objects triggered on initialization. Each event contains:
The method or event name
An array of data associated with the event.
An array of extrinsics included in the block. Each extrinsic contains:
The pallet and method associated with the extrinsic
The pallet (module) name
The method being called in the extrinsic
The signature object which contains the following fields:
The cryptographic signature.
The account that signed the extrinsic (SS58 string or a MultiAddress object such as { Id: "…" })
Account id when the signer is encoded as a MultiAddress Id variant
The nonce of the transaction, used to ensure the uniqueness of each transaction from a given account
The arguments passed to the extrinsic method
Any tip attached to the transaction to prioritize it
The hash of the extrinsic
The info object which contains the following fields:
The weight object which contains the following fields:
The reference time used to calculate the weight
The size of the proof associated with the extrinsic
The class of the transaction
The partial fee associated with the transaction
The kind of extrinsic
The era object which contains the following fields:
Mortality for the extrinsic (compact hex string or { period, phase } object)
Period of the mortal era
Phase of the mortal era
(Optional) Present when the extrinsic uses an immortal era (e.g. 0x00)
Events triggered by this extrinsic
The event method name
The data associated with the event
Indicates whether the extrinsic was successfully executed
Indicates whether the fee for the extrinsic was paid
The onFinalize object which contains the following fields:
An array of event objects triggered on finalization.
The pallet and method that triggered the event
The pallet name
The method name
The data associated with the event
A boolean indicating whether the block has been finalized
(Optional) The decodedXcmMsgs object which contains the following fields:, or null when not requested
An array of horizontalMessages
The ID of the originating parachain
The ID of the destination parachain
The data associated with the message
The messages sent from the relay chain to a parachain.
The block number at which the message was sent
The message content
The data associated with the message.
Messages sent from a parachain to the relay chain
The ID of the originating parachain
The data associated with the message.