ERC20 Credit Debit
Credit and debit entries of all addresses for every ERC20 token transfer.
We only use CEX USD prices to estimate the usd_amount. This has the benefit of excluding scam tokens, but some defi tokens might not be covered.
The ERC20 credit debit table allows you to easily track the inflows and outflows of every ERC20 token belonging to all addresses.
Sample Query
Getting the ERC20 Credit Debit of USDC tokens of an address.
This will provide an overview of all the in and outflows of an ERC20 token of interest to a wallet.
Table Columns
Column Name | Description | Example |
---|---|---|
address | Address of the account that was credited or debited |
|
counterparty_address | The address of counter party of this credit or debit transfer. |
|
token_address | Token address of the ERC20 token. |
|
token_name | Name of the ERC20 token. |
|
token_symbol | Token symbol of this token. |
|
raw_amount | Amount of tokens moved (unnormalized). |
|
raw_amount_str | Amount of tokens moved (unnormalized) in string. |
|
amount | Amount of tokens moved, normalized by the decimal points defined in the ERC20 token contract. For example, USDC has 6 decimals, so this value is the |
|
amount_str | Amount of tokens moved, normalized in string. |
|
usd_value | The amount of tokens moved, in $USD. |
|
usd_exchange_rate | This is the price of a single token, in $USD. Refer to Hourly Token Prices for more information. |
|
transaction_hash | Transaction hash that this transfer belongs to. |
|
log_index | The log index that corresponds to this transfer. |
|
block_timestamp | The timestamp of the block that the corresponding transaction of this transfer belongs to. This is also the timestamp when this transfer occurred. |
|
block_number | The block number that the corresponding transaction of this transfer belongs to. |
|
block_hash | The block hash that the corresponding transaction of this transfer belongs to. |
|
unique_id | Unique id generated to each transfer. Includes transaction hash, log index and credit and debit transaction type. |
|
Last updated