Token Transfer

Receive raw unsigned tx data for SPL token transfers

Join Arrow API Waitlist

Endpoint

POST https://kouba.io/token-transfer

Parameters

from_address

The wallet address sending the tokens

stringrequired

to_address

The wallet address receiving the tokens

stringrequired

token_mint_address

The mint address of the token being transferred

stringrequired

amount

The amount to transfer in base units

stringrequired

cURL Request

curl -X POST https://kouba.io/token-transfer \
  -H "Content-Type: application/json" \
  -d '{
    "from_address": "De5osHj8G13s15r6WNCdsF4ZSJBGS6q1DRzNHHSBtvQ6",
    "to_address": "gmDexz3AyHdgCyHrbYUrGUvodYE953oGKmywiNzgtGK",
    "token_mint_address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000"
  }'

Sample Response

{
  "data": [
    1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 4, 187, 204, 43, 102, 152, 70, 57, 21, 115, 206, 230, 147, 215, 124, 46, 132, 211, 114, 214, 30, 226, 236, 193, 213, 177, 109, 63, 103, 113, 200, 253, 231, 127, 137, 237, 247, 130, 56, 74, 134, 204, 67, 191, 123, 166, 91, 79, 41, 161, 140, 76, 123, 201, 155, 45, 37, 32, 35, 97, 191, 124, 46, 38, 180, 239, 55, 169, 113, 124, 85, 97, 165, 5, 210, 19, 156, 99, 51, 16, 229, 109, 159, 136, 34, 207, 184, 170, 218, 163, 93, 117, 47, 78, 170, 173, 57, 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 4, 2, 1, 0, 0, 9, 3, 232, 3, 0, 0, 0, 0, 0, 0
  ],
  "status": "SPL token transfer tx created successfully"
}

Playground

Request Parameters

Response

Response will appear here