extrinsic

Get extrinsic by hash

Returns the extrinsic by its hash.

get/extrinsics/{extrinsic_hash}

Request

  • Base URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1
  • URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1/extrinsics/{extrinsic_hash}
  • Auth: none declared

Path parameters

extrinsic_hashstring required

Extrinsic hash in hex (with or without 0x prefix, case-insensitive).

Response

Extrinsic with the given hash.

blockHashstring required

32-byte Blake2b-256, always 0x-prefixed and lowercase in responses. Inputs elsewhere may accept mixed case or missing 0x; the API normalizes outputs.

blockNumberinteger required

Number of the extrinsic's block.

blockStatus'proposed' | 'pruned' | 'finalized' required

Block status.

  • finalized: Blocks that have been finalized on chain.
  • proposed: Blocks that have been authored but not yet finalized.
  • pruned: Blocks that have been removed or are no longer accessible.
blockTimestampinteger

Timestamp of the extrinsic's block. Milliseconds.

extraobject

Extrinsic extras in JSON format - checkNonce, checkGenesis, chargeTransactionPayment, etc.

hashstring required

32-byte Blake2b-256, always 0x-prefixed and lowercase in responses. Inputs elsewhere may accept mixed case or missing 0x; the API normalizes outputs.

indexinteger required

Extrinsic index.

isSuccessfulboolean required

Whether the extrinsic was successful.

specVersioninteger required

Runtime spec version of the extrinsic's block.

traceIndexinteger

Trace index for the extrinsic.

versioninteger required

Extrinsic version in metadata.

Example response

{
  "blockHash": "0x758fadeb5004882de8ba39ee2105302ad0ce93ecd68fe26b6fa09de6608e7a77",
  "blockNumber": 3172595,
  "blockStatus": "proposed",
  "blockTimestamp": 1765432302000,
  "extra": {
    "chargeAssetTxPayment": {
      "assetId": null,
      "tip": "0"
    },
    "checkGenesis": {},
    "checkMetadataHash": {
      "mode": {
        "type": "Disabled",
        "value": []
      }
    },
    "checkMortality": {
      "type": "Mortal84",
      "value": "0"
    },
    "checkNonZeroSender": {},
    "checkNonce": "8362",
    "checkSpecVersion": {},
    "checkTxVersion": {},
    "checkWeight": {}
  },
  "hash": "0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3",
  "index": 2,
  "isSuccessful": true,
  "signature": {
    "type": "sr25519",
    "value": "0xabababababababababababababababababababababababababababababababababababababababababababababababababababababababababababababababab"
  },
  "signer": {
    "type": "accountId",
    "value": "0x269a84431cd8dfc5762beadfa54a8f21597c12d4f31e51f9f6f985f65ba0c626"
  },
  "specVersion": 2000000,
  "traceIndex": 2,
  "version": 4
}

Changes

No recorded changes to this operation across all 1 revision of this API.