Skip to main content

Address

The address field allows us to retrieve basic information about a particular address or list of address like balance, annotation, etc.

Cosmos addresses identify accounts across Cosmos SDK chains. The address API returns balance and annotation for a given account. Use it for validator dashboards, wallet interfaces, and staking-product backends that need a quick account overview on Cosmos Hub, Crypto.org, or Heimdall networks.

Here is an exmaple that demonstrates retrival of balance for an address:

{
cosmos {
address(address: {is: "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv"}) {
address
balance
}
}
}
Filtering Addresses

Address data can be filtered using following arguments:

  • address: filter by specific address or a list of addresses.
  • address: returns the address

  • annotation: returns annotation of the address is available

  • balance: returns native currency balance of the address

  • tokensInfo: returns token info