Skip to main content
POST
/
v1
/
delegate_orderly_key
Add delegate signer Orderly key
curl --request POST \
  --url https://api.orderly.org/v1/delegate_orderly_key \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": {
    "delegateContract": "<string>",
    "brokerId": "<string>",
    "chainId": 123,
    "orderlyKey": "<string>",
    "scope": "<string>",
    "timestamp": 123,
    "expiration": 123
  },
  "signature": "<string>",
  "userAddress": "<string>"
}
'
{
  "success": true,
  "data": {
    "orderly_key": "ed25519:FRXntsPJBCy6dzKv9WPw4eYSw3rKU9Npz3T6UmvvJc9Z",
    "id": 123
  },
  "timestamp": 1702989203989
}

Body

application/json
message
object
required

Message object containing the message that is 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