Skip to main content

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

ColumnPostgres typeGraphQL type
token_idbigintbigint
serial_numbernumeric(78,0)numeric
account_idbigintbigint
deletedbooleanBoolean
metadatabyteabytea
created_timestampbigintbigint
processing_timestampbigintbigint
query GetNft {
erc_nft(limit: 10) {
token_id
serial_number
account_id
deleted
}
}

nft_transfer

ColumnPostgres typeGraphQL type
token_idbigintbigint
serial_numbernumericnumeric
consensus_timestampbigintbigint
log_indexintegerInt
token_evm_addresstextString
transaction_hashtextString
payer_account_idbigintbigint
payer_evm_addresstextString
transfer_typecharacter varying(20)String
sender_account_idbigintbigint
sender_evm_addresstextString
receiver_account_idbigintbigint
receiver_evm_addresstextString
query GetNftTransfer {
erc_nft_transfer(limit: 10) {
token_id
serial_number
consensus_timestamp
log_index
}
}

token

ColumnPostgres typeGraphQL type
token_idbigintbigint
token_evm_addresstextString
contract_typecharacter varying(20)String
namecharacter varying(100)String
symbolcharacter varying(100)String
decimalsbigintbigint
total_supplynumericnumeric
metadata_reliability_scorenumeric(3,2)numeric
created_timestampbigintbigint
processing_timestampbigintbigint
transfers_indexed_timestampbigintbigint
query GetToken {
erc_token(limit: 10) {
token_id
token_evm_address
contract_type
name
}
}

token_account

ColumnPostgres typeGraphQL type
account_idbigintbigint
token_idbigintbigint
balancenumericnumeric
balance_timestampbigintbigint
created_timestampbigintbigint
associatedbooleanBoolean
token_evm_addresstextString
query GetTokenAccount {
erc_token_account(limit: 10) {
account_id
token_id
balance
balance_timestamp
}
}

token_partition_balance

ColumnPostgres typeGraphQL type
token_idbigintbigint
account_idbigintbigint
partition_idtextString
balancenumericnumeric
balance_timestampbigintbigint
query GetTokenPartitionBalance {
erc_token_partition_balance(limit: 10) {
token_id
account_id
partition_id
balance
}
}

token_transfer

ColumnPostgres typeGraphQL type
token_idbigintbigint
consensus_timestampbigintbigint
log_indexintegerInt
token_evm_addresstextString
contract_typecharacter varying(10)String
transaction_hashtextString
payer_account_idbigintbigint
payer_evm_addresstextString
transfer_typecharacter varying(20)String
sender_account_idbigintbigint
sender_evm_addresstextString
receiver_account_idbigintbigint
receiver_evm_addresstextString
amountnumericnumeric
partition_idtextString
operator_account_idbigintbigint
operator_evm_addresstextString
query GetTokenTransfer {
erc_token_transfer(limit: 10) {
token_id
consensus_timestamp
log_index
token_evm_address
}
}