Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 1.57 KB

get-rc20-balances.md

File metadata and controls

55 lines (42 loc) · 1.57 KB

Get 𝔉rc20 balances

Get the 𝔉rc20 balances of the given address

GET http://open-api.fixes.world/v1/address/:address/frc20/balances?includeFlow=1

Path Parameters

Name Type Description
address* String the given address for querying

Query Parameters

Name Type Description
includeFlow If including Flow Token Balance, "0" means false, "1" means true

Headers

Name Type Description
Authorization* String Bearer YOUR_API_KEY

{% tabs %} {% tab title="200: OK 𝔉rc20 balances ("tick"="" means FlowToken)" %}

{
    "address": "0xa2de93114bae3e73",
    "tokens": [
        {
            "tick": "flows",
            "amount": 10.99295469
        },
        {
            "tick": "",
            "amount": 6.67809801
        },
        {
            "tick": "fixes",
            "amount": 1000.00000000
        }
    ]
}

{% endtab %}

{% tab title="401: Unauthorized Unauthorized" %}

{% endtab %}

{% tab title="400: Bad Request Invalid address" %}

{% endtab %} {% endtabs %}