The address allows us to retrieve information about a specific address.
On Ethereum, an address can be an externally owned account (EOA) or a smart contract. The address API returns the current ETH balance, human-readable annotations where available, and—when the address is a contract—details such as contract type, protocol type, token metadata (decimals, symbol, token standard), and on-chain attributes. Use this for wallet pages, portfolio dashboards, token supply lookups, and quick contract verification before diving into transfer or event history.
Here is an example that demonstrates how to retrieve basic information about the USDT smart contract:
query {
ethereum {
address(address: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}) {
smartContract {
attributes {
address {
address
annotation
}
name
value
type
}
contractType
protocolType
currency {
decimals
name
symbol
tokenType
}
}
balance
annotation
address
}
}
}
Filtering Addresses
address: Filter by a specific address or a list of addresses.
The following are available fields for the address:
address: Returns the address.annotation: Returns the annotation of the address if available.balance: Returns the current balance of the address.balances: Returns the balance history of the address.smartContract: Returns details if the address is that of a smart contract.