Skip to content
This repository was archived by the owner on May 26, 2024. It is now read-only.

new bech32 address in the api  #103

@Mrostgaard

Description

@Mrostgaard

When running this query:
https://api.zilliqa.com/
Request:

{
    "id": "1",
    "jsonrpc": "2.0",
    "method": "GetBalance",
    "params": ["zil1rmhufazn2w09aeejkj0tg7fty6xz7wggup2tsh"]
}

It returns this response:

{
    "error": {
        "code": -8,
        "data": null,
        "message": "Address size not appropriate"
    },
    "id": "1",
    "jsonrpc": "2.0"
}

Is this not the correct way to use the api? Even using the address from the documentation returns an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions