generate_sip010_transfer
Create SIP-010 token transfer transactions with required post-conditions for secure blockchain transfers. Generates transaction parameters ready for wallet signing on Stacks networks.
Instructions
Generate a SIP-010 fungible token transfer transaction with proper post-conditions. Returns the transaction parameters for wallet signing.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | The amount to transfer (in base units, considering decimals) | |
contractAddress | Yes | The contract address (e.g., SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9) | |
contractName | Yes | The contract name of the SIP-010 token | |
memo | No | Optional memo (max 34 bytes) | |
network | Yes | The Stacks network | |
recipient | Yes | The recipient's Stacks address | |
sender | Yes | The sender's Stacks address |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"description": "The amount to transfer (in base units, considering decimals)",
"type": "number"
},
"contractAddress": {
"description": "The contract address (e.g., SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9)",
"type": "string"
},
"contractName": {
"description": "The contract name of the SIP-010 token",
"type": "string"
},
"memo": {
"description": "Optional memo (max 34 bytes)",
"type": "string"
},
"network": {
"description": "The Stacks network",
"enum": [
"mainnet",
"testnet",
"devnet"
],
"type": "string"
},
"recipient": {
"description": "The recipient's Stacks address",
"type": "string"
},
"sender": {
"description": "The sender's Stacks address",
"type": "string"
}
},
"required": [
"contractAddress",
"contractName",
"amount",
"sender",
"recipient",
"network"
],
"type": "object"
}