Skip to content

My Assets

Address/openApi/wallet/list

Accept Parameters

Required

Submission Method: GET

Example

curl -d /openApi/wallet/list

Submission Parameters

Parameter Name Required Type Example Description
currency No string BTC Query specific currency
show_all No int 1 Whether all currencies are required (1: required, not transmitted only those with assets have)

Return Parameters

Parameter Name Required Type Example Description
errno Yes int 0 Status Code
errmsg Yes success success Status message
result Yes list See example List

Result Parameters Explanation

Parameter Name Required Type Example Description
currency Yes string BTC Currency
available Yes string 100.98877 Available
frozen Yes string 45.099888 Frozen

Return Example

JSON
{
    "errno": 0,
    "errmsg": "success",
    "result": [
        {
            "currency": "BTC",
            "available": "0.2323",
            "frozen": "0"
        },
        {
            "currency": "ETH",
            "available": "1",
            "frozen": "0",
        }
    ]
}