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 02, 2024

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
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free