---
title: "Deprecation: Token Information No Longer Returned for Three Consensus Node Queries"
id: "15684"
type: "post"
slug: "token-information-returned-by-getaccountinfo-and-getaccountbalance-to-be-deprecated"
published_at: "2024-06-03T08:00:00+00:00"
modified_at: "2025-12-08T18:14:00+00:00"
url: "https://hedera.com/blog/token-information-returned-by-getaccountinfo-and-getaccountbalance-to-be-deprecated/"
markdown_url: "https://hedera.com/blog/token-information-returned-by-getaccountinfo-and-getaccountbalance-to-be-deprecated.md"
excerpt: "Token information returned by getAccountInfo, getAccountBalance, and getContractInfo will be deprecated in the near future. Exchanges, wallets, and dapp developers can access equivalent information from the mirror node REST API."
taxonomy_category:
  - "Uncategorized"
taxonomy_post_tag:
  - "technical"
---

[Skip to content](#content)
blog

# Deprecation: Token Information No Longer Returned for Three Consensus Node Queries

June 3, 2024

![Devin Saxon](/wp-content/uploads/2025/12/T035PD799T9-U03P88A7RB3-d8bb76ad6b13-512.jpeg)

Devin Saxon

Senior Product Marketing Manager, Hashgraph

![Ed Marquez](https://hedera.com//wp-content/uploads/2025/12/Headshot.jpeg)

Ed Marquez

Head of Developer Relations

The consensus nodes currently return token information in the queries [getAccountInfo](https://github.com/hashgraph/hedera-protobufs/blob/main/services/crypto_get_info.proto#L147)
, [getContractInfo](https://github.com/hashgraph/hedera-protobufs/blob/main/services/contract_get_info.proto#L128)
 and [getAccountBalance](https://github.com/hashgraph/hedera-protobufs/blob/main/services/crypto_get_account_balance.proto#L84)
. **The token relations and balance information in those queries is planned for deprecation in the future.**

The Hedera Mirror Node has been updated to return hbar balances along with token balances and relationships in real-time. Thus, the information provided by the queries mentioned above can now be obtained using the [mirror node REST API](https://docs.hedera.com/hedera/sdks-and-apis/rest-api#api-v1-accounts-idoraliasorevmaddress-tokens)
. Specifically, the ***tokens*** endpoint below:

```
/api/v1/accounts/{idOrAliasOrEvmAddress}/tokens
```

#### Impact

**Exchanges, wallets, and dapp developers will see the fields of the consensus node queries below no longer return data in the future:**

- AccountInfo.tokenRelationships
- AccountBalance.tokens
- ContractInfo.tokenRelationships

#### Rationale

With the implementation of [HIP-367](https://hips.hedera.com/hip/hip-367)
, retrieving tokens’ fields can lead to an excessive number of calls. To retrieve the balance from tokenAssociations, for example, each tokenID in the array would need a separate map lookup. In return, that getAccountBalance query would become extremely expensive. An additional challenge with these queries is that they require numerous uncharged map look-ups to find and retrieve the token information; and with association limits being removed, the queries may take an arbitrary amount of time to complete.

#### Take Action!

If you’re using token information obtained from the consensus node queries mentioned in this article, be sure to use the Mirror Node REST API for your applications. Visit [our documentation](https://docs.hedera.com/hedera/sdks-and-apis/rest-api)
 to learn how to implement these updates and stay ahead with the latest Hedera updates.

[Back to Blog](/blog)

discover

See more articles

[View All](/blog)

![Image](https://hedera.com/wp-content/uploads/2026/08/Regulation_Blog-1024x576.png)

August 5, 2026

### Details decide. What digital asset policy did in July 2026

Halfway through 2026, the regulatory picture is coming into focus. Hedera Chief Policy Officer Nilmini Rubin and VP Global Policy Isadora Arredondo break down what moved in June across the

[Read More](https://hedera.com/blog/details-decide-what-digital-asset-policy-did-in-july-2026/)

![Deploy Multichain Dapps](https://hedera.com/wp-content/uploads/2026/07/HH600301_DeployMultichainDapps_Final-1024x576.png)

July 17, 2026

### Deploy Multichain Dapps on Hedera in 60 Seconds with scaffold-hbar

Deploying multichain dapps on Hedera has never been easier! With just one command, you can spin up a fully functional dapp using Next.js, Hardhat or Foundry, and AI agent context…

[Read More](https://hedera.com/blog/deploy-multichain-dapps-on-hedera-in-60-seconds-with-scaffold-hbar/)

![Regulation is finding its form](https://hedera.com/wp-content/uploads/2026/07/Regulation_Blog-1-1024x576.png)

July 13, 2026

### Regulation is finding its form in summer 2026

Halfway through 2026, the regulatory picture is coming into focus. Hedera Chief Policy Officer Nilmini Rubin and VP Global Policy Isadora Arredondo break down what moved in June across the

[Read More](https://hedera.com/blog/regulation-is-finding-its-form-in-summer-2026/)

## Ready to get started?

Discover why Hedera is the trusted institutional-grade network powering the new digital economy.

[Start Building](/start-building)

[Contact](/contact)

We use cookies to deliver the best experience on our website and to analyze traffic. By continuing to use this site, you consent to our cookie policy.

Review our [Privacy Policy](/privacy)
 to understand how Hedera collects and uses information.

Accept All CookiesAccept Necessary Cookies
