Hemera Doc
  • 👋Welcome
    • Introduction
    • Quick Start
    • Account Centric Indexing Protocol
      • What is Account-Centric Indexing?
      • Why "account-centric" indexing?
      • The advantages of Account-Centric Indexing
      • What's next for account-centric indexing?
      • Why create a new protocol here?
      • The Hemera Network
        • Network Roles
        • Indexers
        • Validators
        • Proprietary models & knowledge
        • Proprietary data and labels
        • Smart Contracts
        • Key roadmap items
        • Supported blockchains
      • Example Hemera use cases
        • SocialScan Explorers
        • Anti-sybil UML algorithm
        • Ethereum long term DA
        • EVM chain history preservation
        • Ecosystem AI Agents
        • User-defined AI Agents
  • 👩‍💻Developer Resources
    • Smart Contract Developers
    • EVM-compatible chains
      • Blockchain explorers
      • SocialScan explorer API doc
      • Ecosystem AI Agents
    • Dapp developers
    • User-defined Agent creators
    • AVS Operator
  • 🖥️Hemera Indexer
    • Introduction
    • Installation
      • Prerequisites
      • Install & Run
      • Export Result
    • Configurations
    • Benchmark
    • Data Class
      • Raw Data Tables
        • Blocks
        • Transactions
        • Logs
        • Traces
      • Generated Tables
        • Contract Internal Transactions
        • ERC20 Token Transfers
        • Tokens
        • ERC20 Token Holders
        • ERC721 Token Transfers
        • ERC721 Token Holders
        • ERC1155 Token Transfers
        • ERC1155 Token Holders
        • Address Coin Balances
        • Address Token Balances
        • Address Current Token Balances
        • Daily Wallet Address Stats
        • Contracts
      • Other Tables
        • Inscriptions
        • Bridges
          • L1 to L2 Transactions
          • L2 to L1 Transactions
          • Optimistic Rollup Data Availability Batches
          • Optimistic Rollup State Batches
    • Use Cases
      • UniSwap V3
        • Data Class
        • Trigger and Function
        • Run & Query
      • ENS
        • Data Class
        • Trigger and Function
        • Run & Query
      • OpenSea
        • Data Class
        • Trigger and Function
        • Run & Query
      • Deposit to L2
        • Data Class
        • Trigger and Function
        • Run & Query
      • User Profile
  • UDFs - User Defined Functions
    • Introduction
    • Components of UDFs
    • Building User Defined Functions(UDF)
    • Testing and Running UDF
    • Troubleshooting and Support
    • Supported UDFs
    • FAQs
  • 😄About us
    • The story behind building Hemera
    • Partners & Backers
    • Partnership inquiries
    • Hemera Powered Explorers
    • Active Developer Hackathons
    • Developer Contribution
  • Documentation feedback
Powered by GitBook
On this page
  • ETL data class
  • Model in the Database
  1. Hemera Indexer
  2. Data Class
  3. Generated Tables

Address Token Balances

History of token balance change for each address - token_address pair. This table is updated whenever there is a balance change.

ETL data class

Column Name
Data Type
Note

address

str

block_number

int

token_address

str

token_type

str

token_id

int

token_balance

int

block_timestamp

timestamp

Examples

{
  "address": "0x66c0232d3c5f0c25914785606e73bd41b788b9ac",
  "block_number": 559924,
  "token_address": "0x0dc808adce2099a9f62aa87d9670745aba741746",
  "token_type": "ERC20",
  "token_id": -1,
  "token_balance": 32644185039418274000,
  "block_timestamp": "2023-11-12T13:06:39.000Z"
}
0x66c0232d3c5f0c25914785606e73bd41b788b9ac,559924,0x0dc808adce2099a9f62aa87d9670745aba741746,ERC20,-1,32644185039418274000,2023-11-12T13:06:39.000Z

Model in the Database

Column Name
Data Type
Note

address

bytea

block_number

bigint

token_address

bytea

token_type

varchar

token_id

numeric(78)

token_balance

numeric(100)

block_timestamp

timestamp

Examples

{
  "address": "E'\\\\x66c0232d3c5f0c25914785606e73bd41b788b9ac'",
  "block_number": 559924,
  "token_address": "E'\\\\x0dc808adce2099a9f62aa87d9670745aba741746'",
  "token_type": "ERC20",
  "token_id": -1,
  "token_balance": 32644185039418274000,
  "block_timestamp": "2023-11-12 13:06:39.000000"
}
\\x66c0232d3c5f0c25914785606e73bd41b788b9ac,559924,\\x0dc808adce2099a9f62aa87d9670745aba741746,ERC20,-1,32644185039418274000,2023-11-12 13:06:39.000000
PreviousAddress Coin BalancesNextAddress Current Token Balances

Last updated 8 months ago

🖥️