Extrinsics
Get an extrinsic by its extrinsicIndex and block height or hash. The pair blockId, extrinsicIndex is sometimes referred to as a Timepoint.
get
Returns a single extrinsic.
Path parameters
blockIdstringRequiredPattern:
Block identifier, as the block height or block hash.
^0[xX][0-9a-fA-F]{1,64}$|[0-9]{1,12}
extrinsicIndexstringRequired
The extrinsic's index within the block's body.
Query parameters
eventDocsbooleanOptionalDefault:
When set to true
, every event will have an extra docs
property with a string of the events documentation.
false
extrinsicDocsbooleanOptionalDefault:
When set to true
, every extrinsic will have an extra docs
property with a string of the extrinsics documentation.
false
Responses
200
successful operation
application/json
400
Requested `extrinsicIndex` does not exist
application/json
get
GET /blocks/{blockId}/extrinsics/{extrinsicIndex} HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
{
"at": {
"hash": "text",
"height": "text"
},
"extrinsic": {
"method": {
"pallet": "text",
"method": "text"
},
"signature": {
"signature": "text",
"signer": "text"
},
"nonce": "text",
"args": {},
"tip": "text",
"hash": "text",
"info": {
"weight": {
"refTime": "text",
"proofSize": "text"
},
"class": "Normal",
"partialFee": "text",
"kind": "text"
},
"era": "{\"mortalEra\":[\"64\", \"11\"]}",
"events": [
{
"method": "text",
"data": [
"text"
]
}
],
"success": true,
"paysFee": true
}
}