ERC Tokens (erc)
Pure ERC-20, ERC-721, and ERC-1400 contracts deployed to Hedera's EVM. See ERC Indexer for background.
6 queryable tables. Every table supports the standard Hasura query arguments — where, order_by, limit, offset, distinct_on — plus an _aggregate field.
Access: Team and Premium (Playground on lower plans)
Tables
nft
| Column | Postgres type | GraphQL type |
|---|---|---|
token_id | bigint | bigint |
serial_number | numeric(78,0) | numeric |
account_id | bigint | bigint |
deleted | boolean | Boolean |
metadata | bytea | bytea |
created_timestamp | bigint | bigint |
processing_timestamp | bigint | bigint |
query GetNft {
erc_nft(limit: 10) {
token_id
serial_number
account_id
deleted
}
}
nft_transfer
| Column | Postgres type | GraphQL type |
|---|---|---|
token_id | bigint | bigint |
serial_number | numeric | numeric |
consensus_timestamp | bigint | bigint |
log_index | integer | Int |
token_evm_address | text | String |
transaction_hash | text | String |
payer_account_id | bigint | bigint |
payer_evm_address | text | String |
transfer_type | character varying(20) | String |
sender_account_id | bigint | bigint |
sender_evm_address | text | String |
receiver_account_id | bigint | bigint |
receiver_evm_address | text | String |
query GetNftTransfer {
erc_nft_transfer(limit: 10) {
token_id
serial_number
consensus_timestamp
log_index
}
}
token
| Column | Postgres type | GraphQL type |
|---|---|---|
token_id | bigint | bigint |
token_evm_address | text | String |
contract_type | character varying(20) | String |
name | character varying(100) | String |
symbol | character varying(100) | String |
decimals | bigint | bigint |
total_supply | numeric | numeric |
metadata_reliability_score | numeric(3,2) | numeric |
created_timestamp | bigint | bigint |
processing_timestamp | bigint | bigint |
transfers_indexed_timestamp | bigint | bigint |
query GetToken {
erc_token(limit: 10) {
token_id
token_evm_address
contract_type
name
}
}
token_account
| Column | Postgres type | GraphQL type |
|---|---|---|
account_id | bigint | bigint |
token_id | bigint | bigint |
balance | numeric | numeric |
balance_timestamp | bigint | bigint |
created_timestamp | bigint | bigint |
associated | boolean | Boolean |
token_evm_address | text | String |
query GetTokenAccount {
erc_token_account(limit: 10) {
account_id
token_id
balance
balance_timestamp
}
}
token_partition_balance
| Column | Postgres type | GraphQL type |
|---|---|---|
token_id | bigint | bigint |
account_id | bigint | bigint |
partition_id | text | String |
balance | numeric | numeric |
balance_timestamp | bigint | bigint |
query GetTokenPartitionBalance {
erc_token_partition_balance(limit: 10) {
token_id
account_id
partition_id
balance
}
}
token_transfer
| Column | Postgres type | GraphQL type |
|---|---|---|
token_id | bigint | bigint |
consensus_timestamp | bigint | bigint |
log_index | integer | Int |
token_evm_address | text | String |
contract_type | character varying(10) | String |
transaction_hash | text | String |
payer_account_id | bigint | bigint |
payer_evm_address | text | String |
transfer_type | character varying(20) | String |
sender_account_id | bigint | bigint |
sender_evm_address | text | String |
receiver_account_id | bigint | bigint |
receiver_evm_address | text | String |
amount | numeric | numeric |
partition_id | text | String |
operator_account_id | bigint | bigint |
operator_evm_address | text | String |
query GetTokenTransfer {
erc_token_transfer(limit: 10) {
token_id
consensus_timestamp
log_index
token_evm_address
}
}