The assets.native_balances_latest table contains the latest balance of Native of all addresses. It is otherwise identical to Native Balances.

Sample Query

Getting the latest Native 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_balanceNUMERICRaw 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_numberINTEGERThe last block number that resulted in the balance update
last_activity_block_hashVARCHARThe last hash of the block that resulted in the balance update
_updated_at__usd_exchange_rate_currentTIMESTAMP_NTZ(9)Timestamp of the current USD exchange
unique_idVARCHARUnique ID of the balance
_updated_atTIMESTAMP_NTZ(9)Timestamp of the balance update