The assets.erc1155_balances_latest table contains the current ERC1155 balances of all addresses.

Sample Query

Getting the latest ERC1155 Balances address.

select * from ethereum.assets.erc1155_balances_latest

where address = '0xd387a6e4e84a6c86bd90c158c6028a58cc8ac459' -- Pranksy

Note that ERC1155 permits the creation of both semi-fungible tokens and non-fungible tokens. In other words, there can be more than one quantity for a particular ERC1155 token ID.

Currently, the USD exchange rates of ERC1155 tokens are not available.

Table Columns

Unique Key: unique_id

Column NameData TypeDescription
addressVARCHARAddress of the account
token_addressVARCHARAddress of the token
token_nameVARCHARName of the token
token_symbolVARCHARSymbol of the token
token_idVARCHARToken ID of the ERC1155 token
raw_balanceINTEGERBalance of ERC1155 token unnormalized
raw_balance_strVARCHARBalance of ERC1155 token unnormalized in string format
balance_strVARCHARBalance of ERC1155 token in string format
balanceINTEGERBalance of ERC1155 token normalized
usd_balance_currentFLOATUSD balance of ERC1155 token at the current timestamp
usd_balance_at_block_timestampFLOATUSD balance of ERC1155 token at the timestamp of the last activity that resulted in balance change
usd_exchange_rate_currentFLOATUSD exchange rate of ERC1155 token at the current timestamp
usd_exchange_rate_at_block_timestampFLOATUSD exchange rate of ERC1155 token at the timestamp of the last activity that resulted in balance update
last_activity_block_timestampTIMESTAMP_NTZ(9)The timestamp of the block that resulted in the balance
last_activity_block_numberINTEGERThe number of the block that resulted in the balance
last_activity_block_hashVARCHARThe hash of the block that resulted in the balance
_updated_at__usd_exchange_rate_currentTIMESTAMP_NTZ(9)Timestamp of the current USD exchange rate
unique_idVARCHARUnique ID of the balance
_updated_atTIMESTAMP_NTZ(9)Timestamp of the balance update