asa_transfer_txn
Create an unsigned ASA transfer (axfer) transaction for Algorand or Voi mainnets, specifying sender, receiver, asset ID, and amount in base units, with an optional close-remainder-to address.
Instructions
Build an unsigned ASA transfer (axfer). Amount is in base units. Optional closeRemainderTo closes the sender holding after transfer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"network": "<network>",
"sender": "<sender>",
"receiver": "<receiver>",
"assetId": "<assetId>",
"amount": "<amount>"
},
"name": "asa_transfer_txn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional UTF-8 note field on the transaction. | |
| amount | Yes | Amount in base units (string) to avoid JS safe integer limits. | |
| sender | Yes | 58-character AVM account address. | |
| assetId | Yes | ASA asset ID. | |
| network | Yes | Algorand or Voi mainnet identifier. | |
| receiver | Yes | ||
| closeRemainderTo | No | If set, close sender ASA balance to this address after sending amount. |