approve_token
Grant a contract permission to spend a specified amount of your tokens. Set the token, spender, and amount to authorize transfers on the Chiliz blockchain.
Instructions
Approve token spending for a contract
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": "<token>",
"spender": "<spender>",
"amount": "<amount>"
},
"name": "approve_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| amount | Yes | ||
| spender | Yes | Contract address to approve |