zilliqa-js-viewblock icon indicating copy to clipboard operation
zilliqa-js-viewblock copied to clipboard

[ GraphQL API ] Viewblock address api not showing token key datas

Open notsonika opened this issue 3 years ago • 0 comments

Summary

I needed to access wallet info with the balance of specific address (including token), so I came across this API https://graphql-docs.viewblock.io/#tag-Address It should be returning me token value but its not. I double-checked if i have token in this wallet or not & I have few tokens in this address

Actual behavior Its giving me tokens: null

Expected behavior It should give me

hash: [String](https://graphql-docs.viewblock.io/#/definitions/String)
The token hash

name: [String](https://graphql-docs.viewblock.io/#/definitions/String)
The name of the token

symbol: [String](https://graphql-docs.viewblock.io/#/definitions/String)
The symbol of the token

decimals: [Float](https://graphql-docs.viewblock.io/#/definitions/Float)
Token decimals

score: [Float](https://graphql-docs.viewblock.io/#/definitions/Float)
The computed score based on public information (see https://github.com/Ashlar/cryptometa)

balance: [String](https://graphql-docs.viewblock.io/#/definitions/String)

Screenshot Screen Shot 2022-02-04 at 7 36 32 PM

notsonika avatar Feb 04 '22 14:02 notsonika