Skip to main content

/blocks/{blockId}/extrinsics/{extrinsicIndex} REST API Endpoint

Get an extrinsic by its extrinsicIndex and block height or hash. The pair blockId, extrinsicIndex is sometimes referred to as a Timepoint.

Updated on
Sep 2, 2024

/blocks/{blockId}/extrinsics/{extrinsicIndex} REST API Endpoint

Path Parameters

blockId
string
REQUIRED
The block identifier, as the block height or block hash.
extrinsicIndex
string
REQUIRED
The extrinsic's index within the block's body.

Query Parameters

eventDocs
boolean
When set to `true`, every event will have an extra `docs` property with a string of the events documentation.
extrinsicDocs
boolean
When set to `true`, every extrinsic will have an extra `docs` property with a string of the extrinsics documentation.

Returns

at
object
An object containing information about the state
hash
string
The block's hash
height
string
The block's height
extrinsics
object
The extrinsics object which contains the following fields:
method
object
The method object which contains the following fields:
pallet
string
The pallet (module) that the extrinsic is associated with
method
string
The specific method being called within the pallet
signature
string
The signature of the extrinsic
nonce
string
The nonce associated with this extrinsic
args
object
The args object which contains the following fields:
now
string
The argument passed to the method, which is a timestamp value
tip
string
The tip attached to the extrinsic
hash
string
The hash of the extrinsic
info
object
The additional information related to the extrinsic
era
object
The era object which contains the following fields:
immortalEra
string
Indicates that this extrinsic has no expiration
events
array
The list of events generated by this extrinsic
method
object
The method object which contains the following fields:
pallet
string
The pallet generating the event
method
string
The specific event type
data
array
Data associated with the event:
weight
string
The computational weight of the extrinsic
class
string
The class of the transaction
paysFee
string
Indicates if the extrinsic pays a fee
success
boolean
Indicates whether the extrinsic was successfully executed
paysFee
boolean
Indicates whether the extrinsic pays a fee
Request
1
curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/blocks/0x409d0bfe677594d7558101d574633d5808a6fc373cbd964ef236f00941f290ee/extrinsics/0x1004140000?eventDocs=false&extrinsicDocs=false' \
2
--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free