Balances
The balances table contains block-level changes in the balances of assets across all Ethereum wallets.
This table includes token balances of Native Ether, ERC20, ERC721, and ERC1155 tokens. Includes USD value where applicable.
Generating Daily Balances
How to generate daily balances from block-level balances table.
Generate wallet daily (or hourly/monthly) balance holdings with query parameters on the Allium App:
Input the following query onto any https://app.allium.so/explorer worksheet:
Table Columns
Column Name | Description | Example |
---|---|---|
address | Address of the account. |
|
token_address | Token address of the asset.
Note: Native ETH does not have a contract address, but for convention, it is labelled as: |
|
token_name | Name of the token. |
|
token_symbol | Token symbol of the token. |
|
token_id | Unique token ID of the asset. Only applicable for ERC721 and ERC1155 tokens. | |
raw_balance | Balance of tokens (unnormalized) |
|
balance | Balance of this ERC20 token, normalized by the decimal points defined in the ERC20 token contract. For example, USDC has 6 decimals, so this value is the |
|
usd_balance | The amount of tokens, in $USD. |
|
usd_exchange_rate | The exchange rate used to calculate the |
|
block_timestamp | The timestamp of the block that that resulted in the |
|
block_number | The number of the block that resulted in the |
|
block_hash | The hash of the block that resulted in the |
|
token_type | Token type of asset. Includes ETH, ERC20, ERC721 and ERC1155. |
|
Last updated