github.com/TrueBlocks/trueblocks-core/src/apps/chifra@v0.0.0-20241022031540-b362680128f7/internal/README.md (about) 1 ## chifra 2 3 ```[plaintext] 4 Purpose: 5 Access to all TrueBlocks tools (chifra <cmd> --help for more). 6 7 Accounts: 8 list list every appearance of an address anywhere on the chain 9 export export full details of transactions for one or more addresses 10 monitors add, remove, clean, and list address monitors 11 names query addresses or names of well-known accounts 12 abis fetches the ABI for a smart contract 13 Chain Data: 14 blocks retrieve one or more blocks from the chain or local cache 15 transactions retrieve one or more transactions from the chain or local cache 16 receipts retrieve receipts for the given transaction(s) 17 logs retrieve logs for the given transaction(s) 18 traces retrieve traces for the given transaction(s) 19 when find block(s) based on date, blockNum, timestamp, or 'special' 20 Chain State: 21 state retrieve account balance(s) for one or more addresses at given block(s) 22 tokens retrieve token balance(s) for one or more addresses at given block(s) 23 Admin: 24 config report on and edit the configuration of the TrueBlocks system 25 daemon initialize and control long-running processes such as the API and the scrapers 26 scrape scan the chain and update the TrueBlocks index of appearances 27 chunks manage, investigate, and display the Unchained Index 28 init initialize the TrueBlocks system by downloading from IPFS 29 Other: 30 explore open a local or remote explorer for one or more addresses, blocks, or transactions 31 slurp fetch data from Etherscan for any address 32 Flags: 33 -h, --help display this help screen 34 35 Use "chifra [command] --help" for more information about a command. 36 ``` 37 38 ### Other Options 39 40 All tools accept the following additional flags, although in some cases, they have no meaning. 41 42 ```[plaintext] 43 -v, --version display the current version of the tool 44 --wei export values in wei (the default) 45 --ether export values in ether 46 --output string write the results to file 'fn' and return the filename 47 --append for --output command only append to instead of replace contents of file 48 --file string specify multiple sets of command line options in a file 49 ``` 50 51 *For the `--file string` option, you may place a series of valid command lines in a file using any 52 valid flags. In some cases, this may significantly improve performance. A semi-colon at the start 53 of any line makes it a comment.*