Query user information

流量控制: 5 每 秒

摘要


HTTP 方法

GET

访问路径

/api/v3/account

功能

Returns data associated with the user's exchange account.

API 描述


HTTP头

请求参数

字段 类型 必须 说明 举例
owner string Ethereum address "0x123456"

请求示例

HTTP
CURL
GET https://api3.loopring.io/api/v3/account?owner=0x123456 HTTP/1.1
Host: api3.loopring.io
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh,en;q=0.9
curl https://api3.loopring.io/api/v3/account\?owner\=0x123456

响应字段

字段 类型 必须 说明 举例
accountId integer Account ID 10
owner string Ethereum address "0xABCD"
frozen boolean The frozen state of the account, true stands for frozen, if the account is frozen, the user cant submit order. "false"
publicKey PublicKey The user's public key "{x:0x241707bcc6d7a4c
cf10304be248d343a527
e85f61b45d721544d027
cc1f2fb5f,y:0x302f3a
521dbdd1d0eb1944c832
3d4ac3b3e9c9201f4aa4
3a2565054886369d9c}"
tags string Comma separated list of tags such as VIP levels, etc "vip_1"
nonce integer field.DexAccountV3.nonce 0

响应示例

{
    "accountId" : 10,
    "owner" : "0xABCD",
    "frozen" : false,
    "publicKey" : {
        "x" : "0x241707bcc6d7a4ccf10304be248d343a527e85f61b45d721544d027cc1f2fb5f",
        "y" : "0x302f3a521dbdd1d0eb1944c8323d4ac3b3e9c9201f4aa43a2565054886369d9c"
    },
    "tags" : "vip_1",
    "nonce" : 0
}

状态码

状态码 描述
100000 Unknown error
101001 The address was not found
101002 User not found

模型


PublicKey

Describes the users public key which is a point of the selected eclipse curve.

字段 类型 必须 说明 举例
x string The public keys x part. "0x241707bcc6d7a4ccf1
0304be248d343a527e85
f61b45d721544d027cc1
f2fb5f"
y string The public keys y part. "0x302f3a521dbdd1d0eb
1944c8323d4ac3b3e9c9
201f4aa43a2565054886
369d9c"

results matching ""

    No results matching ""