Poison
The following arguments for the Poison transaction subgraph spiders can be set, including:
source: a source address that can not exist with
file
argument.file: the source address
json
file, which cannot exist withsource
argument.out: the output directory, default is
./data
.fields: the output fields joined by
,
for each transaction, the default ishash,from,to,value,timeStamp,blockNumber,tokenSymbol,contractAddress
, and other fields includeisError
,input
,nonce
,blockHash
,gas
,gasPrice
,gasUsed
, andconfirmations
.types: the transaction types joined by
,
that spider crawled, default isexternal
, and the options including:external
,internal
,erc20
,erc721
.symbols: the token symbols for tracing joined by
,
, the default will trace all token symbols. Especially, usenative
for tracing the native token such as ETH in Ethereum.start_blk: the start block for collecting transactions, the default is
0
.end_blk: the end block for collecting transactions, the default is
99999999
.auto_page: whether to obtain all transactions of each node. The default is
False
, that is, obtain the first 10k transactions at most.depth: the Poison search depth, default is 2.
Crawl from an address
The following command shows how to get the transaction subgraph of an address:
Crawl from multiple addresses
The following command shows how to get the transaction subgraphs of two addresses:
Well, the input file file.json
is formatted as follow:
Last updated