Skip to main content
POST
/
v2
/
internal_transfer
Create internal transfer with wallet signature
curl --request POST \
  --url https://api.orderly.org/v2/internal_transfer \
  --header 'Content-Type: application/json' \
  --header 'orderly-account-id: <orderly-account-id>' \
  --header 'orderly-key: <orderly-key>' \
  --header 'orderly-signature: <orderly-signature>' \
  --header 'orderly-timestamp: <orderly-timestamp>' \
  --data '
{
  "signature": "<string>",
  "userAddress": "<string>",
  "verifyingContract": "<string>",
  "message": {
    "receiver": "<string>",
    "token": "<string>",
    "amount": 123,
    "transferNonce": "<string>",
    "chainId": "1",
    "chainType": "SOL"
  }
}
'
{
  "success": true,
  "timestamp": 1702989203989,
  "data": {
    "internal_transfer_request_id": 123
  }
}

Headers

orderly-timestamp
string
required

Timestamp of the signed request in milliseconds.

orderly-account-id
string
required

Account ID of the authenticated account.

orderly-key
string
required

Public orderly key used to sign the request.

orderly-signature
string
required

Signature of the request payload generated with the orderly key.

Body

application/json
signature
string
userAddress
string
verifyingContract
string
message
object

Response

200 - application/json

OK

success
boolean
required

Indicates whether the request was successful.

Example:

true

timestamp
integer

Server timestamp in milliseconds.

Example:

1702989203989

data
object