SOL Transfer

Receive raw unsigned tx data for SOL transfers

Join Arrow API Waitlist

Endpoint

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

Parameters

from_address

The wallet address sending SOL

stringrequired

to_address

The wallet address receiving SOL

stringrequired

lamports

The amount to transfer in lamports (1 SOL = 1,000,000,000 lamports)

stringrequired

cURL Request

curl -X POST https://kouba.io/sol-transfer \
  -H "Content-Type: application/json" \
  -d '{
    "from_address": "De5osHj8G13s15r6WNCdsF4ZSJBGS6q1DRzNHHSBtvQ6",
    "to_address": "gmDexz3AyHdgCyHrbYUrGUvodYE953oGKmywiNzgtGK",
    "lamports": "100000"
  }'

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, 3, 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, 10, 47, 166, 50, 194, 158, 42, 159, 85, 182, 21, 57, 187, 54, 186, 247, 145, 129, 134, 162, 61, 143, 77, 101, 185, 8, 248, 147, 69, 189, 243, 172, 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, 2, 2, 0, 1, 12, 2, 0, 0, 0, 160, 134, 1, 0, 0, 0, 0, 0
  ],
  "status": "SOL transfer tx created successfully"
}

Playground

Request Parameters

Response

Response will appear here