Skip to main content

Trace

A trace record in a block.

blockHashHash256Hex (string)required

Hash of the trace's block.

Possible values: Value must match regular expression ^0x[a-f0-9]{64}$

Example: 0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3
blockNumberinteger<int64>required

Number of the trace's block.

Possible values: >= 0

Example: 3172595
extIdHexString (string)required

Arbitrary hex-encoded bytes, 0x-prefixed.

Possible values: Value must match regular expression ^0x(?:[0-9a-f]{2})+$

hashHash256Hex (string)required

Artificial hash of the trace (sha256(block_hash || index)).

Possible values: Value must match regular expression ^0x[a-f0-9]{64}$

Example: 0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3
indexinteger<int32>required

Index of the trace within the block.

Possible values: >= 0

Example: 83
keyParamsHexString (string)

Arbitrary hex-encoded bytes, 0x-prefixed.

Possible values: Value must match regular expression ^0x(?:[0-9a-f]{2})+$

keyPrefixHexString (string)required

Arbitrary hex-encoded bytes, 0x-prefixed.

Possible values: Value must match regular expression ^0x(?:[0-9a-f]{2})+$

knownKeystring

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

Example: :extrinsic_index
palletIndexinteger<int32>

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

Possible values: >= 0

Example: 14
palletNamestring

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

Example: System
palletStorageItemIndexinteger<int32>

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

Possible values: >= 0

Example: 4
palletStorageItemNamestring

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

Example: BlockHash
parentIdstring | nullnullable
specVersioninteger<int32>required

Runtime spec version of the call's block.

Possible values: >= 0

Example: 2000000
storageMethodTraceStorageMethod (string)required

Trace storage method.

Possible values: [Put, ChildPut, ChildKill, ClearPrefix, ChildClearPrefix, Append, Genesis]

Trace
{
"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"
}