Skip to content

[ICS20] Balance endpoint returns null for empty balance account #4259

Closed
@vikmeup

Description

Summary of Bug

Current endpoint: https://stargate.cosmos.network/bank/balances/cosmos1nk2aalgqtr2tjraqzygtwq5t4dan2rtwvs5fhg
returns null response if the current address does not have any atoms on the account

Expect JSON result:

[
   {
      "denom": "uatom",
      "amount": "0"
   }
]

or

[]

Version

Latest running node on https://stargate.cosmos.network

Steps to Reproduce

curl https://stargate.cosmos.network/bank/balances/cosmos1nk2aalgqtr2tjraqzygtwq5t4dan2rtwvs5fhg

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions