8000 GitHub - parsiq/block-tracer: Traverse through block trace to gather events, transfers and other transaction info
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

parsiq/block-tracer

Repository files navigation

BlockTracer

Traverse through block trace to gather events, transfers and other transaction info.

Example usage

for (const tx of traceBlock(blockTraceFromParsiqBSC)) {
    for (const {  msg, tx, block } of traceTx(tx)) {
      console.log('block', block); // block info (headers, hash, timestamp, number etc)
      console.log('transaction', tx); // tx info (origin, gas, hash, signature etc)
      console.log('message', msg); // internal tx message (contract, value, data, topics etc)
    }
  }

About

Traverse through block trace to gather events, transfers and other transaction info

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0