Subcommands
Note
Click on a subcommand to view its documentation page.
usage: ctc <subcommand> [options] description: ctc is a tool for historical data analysis of Ethereum and other EVM chains if using ctc for the first time, run: ctc setup for quick lookups of an address, block, tx, or timestamp, run: ctc QUERY where QUERY is an address, block number, tx hash, or timestamp to view help about a specific subcommand run: ctc <subcommand> -h available subcommands: admin subcommands aliases view and manage ctc shell aliases chains display information about configured chains config print current config information db display database status log display logs setup run ctc setup wizard compute subcommands ascii convert hex to ascii checksum compute checksum of address create address generate address in the style of CREATE or CREATE2 decode decode encoded EVM datatypes decode call decode EVM call data encode encode data as EVM datatypes hex convert text data to hex representation int convert data to integer keccak compute keccak hash of data limits display limits of various datatypes lower convert string to lower case rlp encode RLP encode data selector compute 4byte function selector using function signature data subcommands abi display abi of contract abi diff display diff of two contract ABI's address summarize address address txs output all transactions from address block summarize block blocks output information about blocks bytecode get raw bytecode stored at address call output result of a call call all display outputs of all contract's read-only functions calls output the result of multiple contract eth_call's chain display chain_id of provider decompile decompile contract abi dex chart display candlestick chart of DEX pool trades dex pool show information about a pool dex pools list dex pools dex trades get DEX swaps erc20 display information about ERC20 erc20 balance output an ERC20 balance erc20 balances output ERC20 balances of blocks / addresses / tokens erc20 transfers output information about ERC20 transfers eth balance output ETH balance of address eth balances output ETH balance across blocks or addresses events get contract events gas output gas summary of block range proxy print proxy information about contract proxy register register custom proxy implementation of a contract storage get value of storage slot symbol convert ERC20 address to symbol, or symbol to address timestamp get block of timestamp tx display transaction data, receipt, call data, & logs protocol subcommands 4byte lookup 4byte signature 4byte build build local copy of 4byte database aave output aave usage statistics aave addresses output aave-related addresses cg output coingecko market data chainlink output Chainlink feed data chainlink feeds list all Chainlink feeds curve pools list curve pools ens summarize ENS entry ens exists output whether ENS name exists ens hash output hash of ENS name ens owner output owner of ENS name ens records output text records of ENS name ens resolve resolve ENS name ens reverse reverse ENS lookup address etherscan open etherscan query in browser or fetch fei analytics output data payload for app.fei.money/analytics fei depth output FEI liquidity depth information fei dex show information related to FEI on DEX's fei pcv output summary of Fei PCV fei pcv assets output summary of Fei PCV assets fei pcv deposits output summary of Fei PCV deposits fei psms display recent FEI redemptions gnosis print information about a gnosis safe llama output data from Defi Llama api llama chain output data about a chain tracked by Defi Llama llama chains output data about chains tracked by Defi Llama llama pool output data about a pool tracked by Defi Llama llama pools output data about pools tracked by Defi Llama llama protocol output data about a protocol tracked by Defi Llama llama protocols output data about protocols tracked by Defi Llama rari summarize fuse pool, token, or platform rari pools list all Rari fuse pools uniswap burns output information about pool burns uniswap chart chart price action of uniswap pools uniswap mints output information about pool mints uniswap pool summarize pool uniswap swaps output information about pool swaps yearn display summary of Yearn vaults yearn addresses output Yearn addresses other subcommands cd change working directory to ctc-related location help output help version print cli version