Query Wallet Balance

Basic Information

Interface Description: Get your wallet balance through the interface

Interface URL: https://api.thordata.com/api/account/wallet-balance

Request Method: GET

Request parameters

Params:

Parameter name
Type
Required
Describe

token

string

Yes

Please log in to the Dashboard-MENU-My Account to view your token parameter value

key

string

Yes

Please log in to the Dashboard-MENU-My Account to view your key parameter value

Response example

{
    "code": 200,
    "data": {
        "wallet_balance": 800
    },
    "msg": "ok"
}

If the returned code value is not 200, please check the error code description list and modify it.

Parameter name
Type
Required
Describe

code

number

No

-

data

object

No

-

wallet_balance

number

Yes

Wallet balance

msg

string

No

-

Last updated