> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# ERC721 Balances Latest

> Fetch the current balance of erc721 tokens across all addresses.

The `assets.erc721_balances_latest` table contains the current balances of ERC721 tokens of all address.

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

### Sample Query

Finding all the holders of Pudgy Penguins NFTs currently.

```sql theme={null}
select * from ethereum.assets.erc721_balances_latest
where token_address = '0xbd3531da5cf5857e7cfaa92426877b022e612cf8' -- Pudgy Penguins NFT
and address != '0x0000000000000000000000000000000000000000' -- Exclude burn address
```

### Table Columns

Unique Key: `unique_id`

| Column Name                                   | Data Type         | Description                                                                                            |
| --------------------------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------ |
| address                                       | VARCHAR           | Address of the account                                                                                 |
| token\_address                                | VARCHAR           | Address of the token                                                                                   |
| token\_name                                   | VARCHAR           | Name of the token                                                                                      |
| token\_symbol                                 | VARCHAR           | Symbol of the token                                                                                    |
| token\_id                                     | VARCHAR           | Token ID of the ERC721 token                                                                           |
| raw\_balance                                  | FLOAT             | Balance of tokens (unnormalized). For ERC721 tokens, there are no decimals division involved           |
| raw\_balance\_str                             | VARCHAR           | Balance of tokens (unnormalized) in string. For ERC721 tokens, there are no decimals division involved |
| balance\_str                                  | VARCHAR           | Balance of tokens in string. For ERC721 tokens, the max balance is 1                                   |
| balance                                       | FLOAT             | Balance of tokens. For ERC721 tokens, the max balance is 1                                             |
| last\_activity\_block\_timestamp              | TIMESTAMP\_NTZ(9) | Timestamp of the last activity that resulted in this balance                                           |
| last\_activity\_block\_number                 | BIGINT            | Block number of the last activity that resulted in this balance                                        |
| last\_activity\_block\_hash                   | VARCHAR           | Block hash of the last activity that resulted in this balance                                          |
| \_updated\_at\_\_usd\_exchange\_rate\_current | TIMESTAMP\_NTZ(9) | Timestamp of the current USD exchange                                                                  |
| unique\_id                                    | VARCHAR           | Unique ID of the balance                                                                               |
| \_updated\_at                                 | TIMESTAMP\_NTZ(9) | Timestamp of the balance update                                                                        |
