ProtoJSON
Overview
Running
# Extract USDT events to ProtoJSONL of a 200 blocks range, in 100-blocks-chunks substreams sink protojson [email protected] map_events -o ./transfers --filter=.transfers[] -n 100 -s 20000000 -t +200transfers/0020000100-0020000200.jsonl transfers/0020000000-0020000100.jsonl{ "evtTxHash": "8cd7657e49e207d2eef05776820d6234b5c33482f53c5ec4db5f3220cc029c06", "evtIndex": 135, "evtBlockTime": "2024-06-01T22:56:59Z", "evtBlockNumber": "20000100", "from": "ZfU/nt+BtrSyp9QMPKVgVNTJO5o=", "to": "cmjDmMZ/nem5tGPHnroITwvYNo4=", "value": "421253867" }# Extract USDT events to ProtoJSONL of a 200 blocks range, in 100-blocks-chunks substreams sink protojson [email protected] map_events -o ./usdt_output --filter=. -n 100 -s 20000000 -t +200usdt_output/0020000100-0020000200.jsonl usdt_output/0020000000-0020000100.jsonl{ "transfers": [ { "evtTxHash": "8cd7657e49e207d2eef05776820d6234b5c33482f53c5ec4db5f3220cc029c06", "evtIndex": 135, "evtBlockTime": "2024-06-01T22:56:59Z", "evtBlockNumber": "20000100", "from": "ZfU/nt+BtrSyp9QMPKVgVNTJO5o=", "to": "cmjDmMZ/nem5tGPHnroITwvYNo4=", "value": "421253867" }, { ... }, }
Last updated
Was this helpful?

