Home

Get extrinsic by index

GET
https://ksmassethub-playbook.nownodes.io/v1/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 block by its index within the block. 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 within the block

eventDocsbooleanquery

Include documentation for events

extrinsicDocsbooleanquery

Include documentation for extrinsics

noFeesbooleanquery

Skip fee calculation

useRcBlockbooleanquery

When true, treat blockId as Relay Chain block and return Asset Hub extrinsics

useEvmFormatbooleanquery

Convert AccountId32 addresses to EVM format for revive pallet events

Response

200OK

Extrinsic details

400Bad Request

Invalid block identifier or extrinsic index

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable