approve_jst_for_voting
Approve JST tokens for the WJST voting contract, a prerequisite to deposit JST and obtain voting power. Specify amount or 'max' for unlimited.
Instructions
Approve JST token for the WJST voting contract. Required before depositing JST to get voting power. Use amount='max' for unlimited approval.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "approve_jst_for_voting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount to approve, or 'max' for unlimited. Default: max | |
| network | No | Network. Default: mainnet |