基本说明

此接口可以根据此接口判断API使用情况和平台余额是否充足

GET/v1/account

查询账户详情

查询 API KEY 详情

必填参数

  • Name
    API-KEY
    Type
    string
    Description

    唯一API KEY

Request

GET
/v1/account
curl -G https://api.eopen.io/api/v1/account \
  -H "API-KEY: {apiKey}"

Response

{
    "code": 0,
    "msg": "Get user information successfully",
    "time": "1741856215",
    "data": {
        "name": "User-TT3D8B",// 用户名
        "walletAddress": "TT3D8Br4YEkJtvS1DNSj77ymip51BemoP3",// 充值钱包地址
        "balance": {
            "available": {
                "trx": "0",// trx余额
                "usdt": "0.031748"// usdt余额
            },
            "frozen": {
                "trx": "0"// 冻结trx余额
            }
        },
        "referralCount": 0// 邀请人数
    }
}

Was this page helpful?