The Native Balances Latest table contains the latest balance of native tokens of all addresses.

This table is derived from the Native Balances table, by selecting the most recent balance update for each unique address-asset combination.

Sample Query

Getting the latest native token balance of an address.

select * from ethereum.assets.native_balances_latest
where address = '0xd387a6e4e84a6c86bd90c158c6028a58cc8ac459' -- Pranksy

Table Columns

Unique Key: unique_id

Column NameData TypeDescription
addressVARCHARAddress of the account
token_addressVARCHARAddress of the native token, which is represented as null address (0x0000000000000000000000000000000000000000)
token_nameVARCHARName of the native token
token_symbolVARCHARSymbol of the token
raw_balanceFLOATRaw balance of native token in wei
raw_balance_strVARCHARRaw balance of native token in wei and in string format
balanceFLOATBalance of native token normalized
balance_strVARCHARBalance of native token normalized and in string format
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_numberBIGINTThe last block number that resulted in the balance update
last_activity_block_hashVARCHARThe last hash of the block that resulted in the balance update