Skip to main content
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,
    "timestamp": "<string>",
    "registrationNonce": "<string>",
    "chainType": "<string>"
  },
  "signature": "<string>",
  "userAddress": "<string>"
}
'
{
  "success": true,
  "data": {
    "account_id": "<string>"
  },
  "timestamp": 1702989203989
}

Body

application/json
message
object
required

Message object signed by the wallet owner.

signature
string
required

Signature generated by signing the message object.

userAddress
string
required

Address of the wallet that signed the message object.

Response

200 - application/json

OK

success
boolean
required

Indicates whether the request was successful.

Example:

true

data
object
required
timestamp
integer

Server timestamp in milliseconds.

Example:

1702989203989