Home

RC get extrinsic by index

GET
https://ksm-playbook.nownodes.io/v1/rc/blocks/{blockId}/extrinsics/{extrinsicIndex}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Changed. The extrinsic at the requested on-chain index is now always returned. Before, if an earlier extrinsic in the block could not be decoded, the list shifted and a different extrinsic could be returned. If the requested extrinsic itself cannot be decoded, it is returned with a new decodeError object (index, reason, rawHex), without method and args, and with era as an empty object.

Returns a specific extrinsic from a relay chain block by its index. If that entry could not be decoded it is still returned, with decodeError set, no method or args, and era as an empty object; its events, success and paysFee come from the block's events, and success is false when the block carried no outcome event for that index.

Parameters

blockIdstringrequiredpath

Block height number or block hash

extrinsicIndexstringrequiredpath

Index of the extrinsic in the block

eventDocsbooleanquery

Include event documentation

extrinsicDocsbooleanquery

Include extrinsic documentation

noFeesbooleanquery

Skip fee calculation

Response

200OK

Extrinsic details

400Bad Request

Invalid block ID or extrinsic index

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured