Returns traces (spans and events) of the specified block from RPC state_straceBlock. Consult the RPC docs for conceptual info.
state_straceBlock
Block identifier, as the block height or block hash.
^0[xX][0-9a-fA-F]{1,64}$|[0-9]{1,12}
successful operation
const response = await fetch('https://dot-playbook.nownodes.io/experimental/blocks/{blockId}/traces', { method: 'GET', headers: {}, }); const data = await response.json();
{ "at": { "hash": "text", "height": "text" }, "blockHash": "text", "events": [ { "data": { "stringValues": { "key": "text", "method": "text", "result": "text" } }, "parentId": "text", "target": "text" } ], "parentHash": "text", "spans": [ { "id": "text", "name": "text", "parentId": "text", "target": "text", "wasm": false } ], "storageKeys": "text", "tracingTargets": "text" }