Skip to main content

Table Details

PropertyValue
Table Nameb3.assets.native_balances_latest
Table StatusProduction-Ready
Unique Keytoken_address, address

Table Columns

Column NameData TypeDescription
token_typeVARCHAR(6)Token standard for the asset. One of: erc20 (fungible), erc721 (non-fungible), erc1155 (semi-fungible), or the native currency symbol (e.g. eth, matic, bnb).
addressVARCHAR(16777216)Address of the account
token_addressVARCHAR(16777216)Address of the native token, which is represented as null address (0x0000000000000000000000000000000000000000)
token_nameVARCHAR(16777216)Name of the native token
token_symbolVARCHAR(16777216)Symbol of the token
raw_balance_strVARCHAR(16777216)Raw balance of native token in wei and in string format
raw_balanceFLOATRaw balance of native token in wei
balance_strVARCHAR(16777216)Balance of native token normalized and in string format
balanceFLOATBalance of native token normalized
usd_balance_currentFLOATUSD balance of ETH at the current timestamp
usd_balance_at_block_timestampFLOATUSD balance of ETH at the timestamp of the last activity that resulted in balance change
usd_exchange_rate_currentFLOATUSD exchange rate of ETH at the current timestamp
usd_exchange_rate_at_block_timestampFLOATUSD exchange rate of ETH at the timestamp of the last activity that resulted in balance update
last_activity_block_timestampTIMESTAMP_NTZ(9)The last timestamp of the block that resulted in the balance update
last_activity_block_numberNUMBER(38,0)The last block number that resulted in the balance update
last_activity_block_hashVARCHAR(16777216)The last hash of the block that resulted in the balance update
unique_idVARCHAR(107)Allium’s deterministic unique identifier for this row. Generated from the fields that uniquely identify the record (e.g. transaction hash + log index). Stable across full refreshes.
_updated_at__usd_exchange_rate_currentTIMESTAMP_NTZ(9)Timestamp (UTC) of the most recent update to the current USD exchange rate for this token. Updated independently when prices are refreshed, separate from balance data.
_updated_at__historicalTIMESTAMP_NTZ(9)Timestamp (UTC) of the most recent update to the historical (at-block-timestamp) data for this row.
_created_at__onchain_lakeTIMESTAMP_NTZ(9)Timestamp (UTC) when this row was first written to the onchain lake (the raw data layer before mart transformation).
_created_atTIMESTAMP_NTZ(9)Timestamp of when the entry was created in the database.
_updated_atTIMESTAMP_NTZ(9)Timestamp of when the entry was last updated in the database.
_changed_since_full_refreshBOOLEANIndicates if the record has changed since the last full data refresh.