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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount to approve, or 'max' for unlimited. Default: max | |
| network | No | Network. Default: mainnet |