Skip to content

Commit

Permalink
Update HIP/hip-873.md
Browse files Browse the repository at this point in the history
lgtm

Co-authored-by: Steven Sheehy <[email protected]>
Signed-off-by: Ty <[email protected]>
  • Loading branch information
ty-swirldslabs and steven-sheehy authored Jan 31, 2024
1 parent 8b48fef commit 36e0242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HIP/hip-873.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ updated: 2024-01-31
---

### Abstract
This HIP proposes an enhancement (with backwards compatibility) to the Hedera REST API to include decimal information in the token balance queries. Currently, users face challenges in accurately determining token balances due to the absence of decimal details in the `/tokens` and `/account/{idOrAliasOrEvmAddress}/tokens` endpoints. This proposal aims to reduce the number of API calls needed and streamline the process of retrieving comprehensive token information.
This HIP proposes an enhancement (with backwards compatibility) to the Hedera REST API to include decimal information in the token balance queries. Currently, users face challenges in accurately determining token balances due to the absence of decimal details in the `/tokens`, `/api/v1/tokens/{tokenId}/balances`, and `/account/{idOrAliasOrEvmAddress}/tokens` endpoints. This proposal aims to reduce the number of API calls needed and streamline the process of retrieving comprehensive token information.

### Motivation
This HIP, aligned with [HIP-367](hip-367.md)'s initiative to deprecate HAPI queries, seeks to ensure that mirror node APIs offer comparable functionality. Retrieving token balance information without decimal details currently necessitates multiple API calls, leading to inefficiencies and a heightened computational load. By integrating decimal details into balance queries, this proposal aims to streamline the process, significantly reducing the time, cost, and complexity involved, crucial for accurate token balance determination.
Expand Down

0 comments on commit 36e0242

Please sign in to comment.