Token Transfer with Memo
Transfer SPL tokens with memo data
Endpoint
POST https://arrow-api.yatori.io/token-transfer-memo
Headers
x-api-key
Your Arrow API key
stringrequired
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
yid
Unique identifier for the transaction memo
stringrequired
cURL Request
curl -X POST https://arrow-api.yatori.io/token-transfer-memo -H "Content-Type: application/json" -H "x-api-key: " -d '{
"from_address": "G8RtxPyG2pdrAhrNRMgg7Hia8imCofdCYxvyWiNG14hx",
"to_address": "gmDexz3AyHdgCyHrbYUrGUvodYE953oGKmywiNzgtGK",
"token_mint_address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"yid": "some_unique_id"
}' 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, 2, 5, 224, 198, 132, 241, 33, 60, 165, 69, 165, 137, 249, 56, 14, 189, 194, 57, 107, 230, 202, 36, 126, 45, 186, 41, 133, 233, 0, 160, 254, 107, 105, 131, 114, 209, 25, 121, 139, 14, 220, 248, 44, 176, 117, 159, 14, 254, 214, 6, 151, 36, 118, 109, 236, 203, 32, 120, 192, 61, 6, 179, 173, 45, 218, 45, 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, 5, 74, 83, 90, 153, 41, 33, 6, 77, 36, 232, 113, 96, 218, 56, 124, 124, 53, 181, 221, 188, 146, 187, 129, 228, 31, 168, 64, 65, 5, 68, 141, 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, 2, 4, 4, 1, 2, 0, 0, 9, 3, 232, 3, 0, 0, 0, 0, 0, 0, 3, 0, 178, 1, 97, 114, 114, 111, 119, 45, 97, 112, 105, 124, 109, 105, 110, 116, 58, 69, 80, 106, 70, 87, 100, 100, 53, 65, 117, 102, 113, 83, 83, 113, 101, 77, 50, 113, 78, 49, 120, 122, 121, 98, 97, 112, 67, 56, 71, 52, 119, 69, 71, 71, 107, 90, 119, 121, 84, 68, 116, 49, 118, 124, 102, 58, 71, 56, 82, 116, 120, 80, 121, 71, 50, 112, 100, 114, 65, 104, 114, 78, 82, 77, 103, 103, 55, 72, 105, 97, 56, 105, 109, 67, 111, 102, 100, 67, 89, 120, 118, 121, 87, 105, 78, 71, 49, 52, 104, 120, 124, 116, 58, 103, 109, 68, 101, 120, 122, 51, 65, 121, 72, 100, 103, 67, 121, 72, 114, 98, 89, 85, 114, 71, 85, 118, 111, 100, 89, 69, 57, 53, 51, 111, 71, 75, 109, 121, 119, 105, 78, 122, 103, 116, 71, 75, 124, 97, 58, 49, 48, 48, 48, 124, 121, 105, 100, 58, 115, 111, 109, 101, 95, 117, 110, 105, 113, 117, 101, 95, 105, 100
],
"status": "SPL token transfer tx created successfully"
}