trace
Get block traces
Changed onIf a hash is passed, returns the traces for the matching block. If a number is passed, returns the traces for the blocks with that number - could be multiple blocks if there's a pruned block in that slot.
get/blocks/{block_ref}/traces
Request
- Base URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1
- URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1/blocks/{block_ref}/traces
- Auth: none declared
Path parameters
block_refstring required
Block reference for the traces. Either a block number (integer ≥ 0), or a block hash in hex (with or without 0x prefix, case-insensitive).
Query parameters
pageinteger
Block traces list page number to retrieve. 1-indexed.
page_sizeinteger
Number of traces traces in block per page to be returned.
Response
Paginated list of matching traces.
Example response
{
"data": [
{
"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"
}
],
"pagination": {
"count": 57,
"page": 1,
"pageSize": 1,
"total": 324
}
}Changes
- info
added the required property
/to the response with the status
- info
- warning
removed the optional property
//from the response with the status
- warning