Skip to main content
POST
/
v2
/
internal_transfer
Create Internal Transfer With Wallet Signature
curl --request POST \
  --url https://api.perpo.trade/v2/internal_transfer \
  --header 'Content-Type: application/json' \
  --header 'perpo-account-id: <perpo-account-id>' \
  --header 'perpo-key: <perpo-key>' \
  --header 'perpo-signature: <perpo-signature>' \
  --header 'perpo-timestamp: <perpo-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

perpo-timestamp
string
required
perpo-account-id
string
required
perpo-key
string
required
perpo-signature
string
required

Body

application/json
signature
string
userAddress
string
verifyingContract
string
message
object

Response

200 - application/json

OK

success
boolean
required
Example:

true

timestamp
integer
Example:

1702989203989

data
object