approve_token
Build an unsigned transaction to approve a token for Floe protocol, enabling the protocol to spend tokens for payments and credit.
Instructions
Build unsigned tx to approve a token for Floe protocol. Requires any Floe API key (agent floe_... or developer floe_live_...).
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": {
"token_address": "<token_address>",
"amount": "<amount>"
},
"name": "approve_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to approve in raw units | |
| token_address | Yes | Token contract address |