Path Parameters
Query Parameters
- rangestringREQUIRED
A range of integers. There is a max limit of 500 blocks per request.
- 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.
Returns
- blocksarray
Blocks in the requested range
- 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 | null
(Optional) The signature object for signed extrinsics, or null for unsigned extrinsics
- signaturestring
The signature itself.
- signerstring
The account that signed the extrinsic.
- noncestring | null
The nonce of the extrinsic, or null when not applicable
- argsobject
The arguments passed to the method.
- tipstring | null
The tip given for the transaction, or null when not applicable
- 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
- methodobject
The pallet and method that triggered the event
- palletstring
The pallet name
- methodstring
The method name
- dataarray
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.