Get Account info
GET /api/v3/account
one of owner and accountId is required.
Field | Description | Example |
---|---|---|
owner | Ethereum address, either owner or accountId should be presented. | "0xbbbbca6a901c926f240b89eacb641d8aec7aeafd" |
accountId | AccountID, if owner is presented, it must be aligned with the owners accountId, otherwise an error occurs. | 10003 |
Field | Description | Example |
---|---|---|
accountId | Account ID | 10 |
owner | Ethereum address | "0xbbbbca6a901c926f240b89eacb641d8aec7aeafd" |
frozen | The frozen state of the account, true stands for frozen, if the account is frozen, the user cannot submit an order. | false |
publicKey | "{x:0x241707b
cc6d7a4ccf10
304be248d343
a527e85f61b4
5d721544d027
cc1f2fb5f,y:
0x302f3a521d
bdd1d0eb1944
c8323d4ac3b3
e9c9201f4aa4
3a2565054886
369d9c}" | |
tags | Comma separated list of tags such as VIP levels, etc | "vip_1" |
nonce | nonce | 0 |
keyNonce | Nonce of users key change request, for backward compatible | 0 |
keySeed | KeySeed of users L2 eddsaKey, the L2 key should be generated from this seed, i.e., L2_EDDSA_KEY=eth.sign(keySeed). Otherwise, users may receive an error when logging into the Loopring DEX | "Sign this message to access Loopring Exchange: 0xbbbbca6a901c926f240b89eacb641d8aec7aeafd with key nonce: 103" |
Field | Description | Example |
---|---|---|
x | The public keys x part. | "0x241707bcc6
d7a4ccf10304
be248d343a52
7e85f61b45d7
21544d027cc1
f2fb5f" |
y | The public keys y part. | "0x302f3a521d
bdd1d0eb1944
c8323d4ac3b3
e9c9201f4aa4
3a2565054886
369d9c" |
https://uat2.loopring.io/api/v3/account?accountId=11329
{
"accountId": 11329,
"owner": "0x8656920c85342d646E5286Cb841F90209272ABeb",
"frozen": false,
"publicKey": {
"x": "0x20ba7bd404f259c3d49853d6a849425a983c24fc3c01be177f719e84ba776a8c",
"y": "0x266d7e40dba375c90816287814f20b8e187227a6d05f17d2d329fefac9b782af"
},
"tags": "",
"nonce": 1,
"keyNonce": 1,
"keySeed": "Sign this message to access Loopring Exchange: 0x2e76EBd1c7c0C8e7c2B875b6d505a260C525d25e with key nonce: 0"
}
Last modified 7mo ago