Get Account info

EndPoint

GET /api/v3/account

Request

one of owner and accountId is required.

FieldDescriptionExample

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

Response

FieldDescriptionExample

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

PublicKey, The user's public key

"{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"

Model

PublicKey

FieldDescriptionExample

x

The public keys x part.

"0x241707bcc6 d7a4ccf10304 be248d343a52 7e85f61b45d7 21544d027cc1 f2fb5f"

y

The public keys y part.

"0x302f3a521d bdd1d0eb1944 c8323d4ac3b3 e9c9201f4aa4 3a2565054886 369d9c"

Last updated