Skip to content

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

Description

@notsonika

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions