trace

Get trace by hash

Changed on

Returns the trace by its hash.

get/traces/{trace_hash}

Request

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

Path parameters

trace_hashstring required

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

Response

Trace 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 trace's block.

extIdstring required

Arbitrary hex-encoded bytes, 0x-prefixed.

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

Index of the trace within the block.

keyParamsstring

Arbitrary hex-encoded bytes, 0x-prefixed.

keyPrefixstring required

Arbitrary hex-encoded bytes, 0x-prefixed.

knownKeystring

If the trace record is for a known UTF-8 key, the string representation of the key.

palletIndexinteger

If the trace record is a storage item, the storage item's pallet index in the metadata.

palletNamestring

If the trace record is a storage item, the storage item's pallet name in the metadata.

palletStorageItemIndexinteger

If the trace record is a storage item, the storage item's index in the pallet metadata.

palletStorageItemNamestring

If the trace record is a storage item, the storage item's name.

parentIdstring nullable
specVersioninteger required

Runtime spec version of the call's block.

storageMethod'Put' | 'ChildPut' | 'ChildKill' | 'ClearPrefix' | 'ChildClearPrefix' | 'Append' | 'Genesis' required

Block trace storage method.

Example response

{
  "blockHash": "0x2f08d6887f29369af351118631221891b47ca5f0c2ef14f4da0dd32c3bed0d77",
  "blockNumber": 3213251,
  "extId": "0x3e44",
  "hash": "0xebae2efe1479e7e4535c8ffb337359e252a54ac77a13c6095c9bbc5e78622daa",
  "index": 20,
  "keyParams": "0x5a3fb8de4321e12fad081eaeece61bc56d6f646c506f745374616b650000000000000000000000000000000000000000",
  "keyPrefix": "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9",
  "palletIndex": 0,
  "palletName": "System",
  "palletStorageItemIndex": 0,
  "palletStorageItemName": "Account",
  "parentId": null,
  "specVersion": 2000000,
  "storageMethod": "Put"
}

Changes