Skip to main content
POST
/
send-token
Send tokens to another address
curl --request POST \
  --url https://yppncslmsswqydhhgygz.supabase.co/functions/v1/send-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "recipient_address": "<string>",
  "amount": "100.5",
  "chain_id": 123
}'
{
  "success": true,
  "transaction": {
    "to": "<string>",
    "data": "<string>",
    "value": "<string>",
    "gasLimit": "<string>"
  }
}

Authorizations

Authorization
string
header
required

JWT token or API key

Body

application/json
token_id
string<uuid>
required
recipient_address
string
required
amount
string
required

Human-readable amount (e.g., "100.5")

Example:

"100.5"

chain_id
integer
required

Response

Successful response

success
boolean
required
transaction
object
required