POST
/
v1
/
register_account
Register Account
curl --request POST \
  --url https://api.orderly.org/v1/register_account \
  --header 'Content-Type: application/json' \
  --data '{
  "message": {
    "brokerId": "<string>",
    "chainId": 123,
    "chainType": "<string>",
    "timestamp": "<string>",
    "registrationNonce": "<string>"
  },
  "signature": "<string>",
  "userAddress": "<string>"
}'
{
  "success": true,
  "timestamp": 1702989203989,
  "data": {
    "account_id": "<string>"
  }
}

Body

application/json
message
object
required

Message object containing the message that is signed by the wallet owner

signature
string
required

The signature generated by signing the message object via EIP-712

userAddress
string
required

The address of the wallet signing the message object via EIP-712

Response

200 - application/json

OK

success
boolean
required
Example:

true

data
object
required
timestamp
integer
Example:

1702989203989