cURL
curl --request POST \ --url https://api.docs.magicblock.app/tx/checked-transfer \ --header 'Content-Type: application/json' \ --data ' { "sender": "<string>", "recipient": "<string>", "mint": "<string>", "amount": 1, "endpoint_url": "<string>" } '
{ "transaction": "<string>", "message": "Transaction created successfully" }
Sender pubkey (signer, owner of source ATA)
Recipient pubkey (owner of destination ATA)
Token mint (readonly)
Amount of tokens to transfer
x >= 0
Solana endpoint URL override
Successful Response
Base64-encoded serialized transaction
Was this page helpful?