deposit_jst_for_votes
Deposit JST into the WJST contract to acquire voting power for governance. Each JST equals one vote; deposited JST can be withdrawn after voting.
Instructions
Deposit JST into the WJST contract to get voting power. Requires prior approval of JST for the WJST contract (use approve_jst_for_voting first). 1 JST = 1 Vote. Deposited JST can be withdrawn back after voting.
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": {
"amount": "<amount>"
},
"name": "deposit_jst_for_votes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of JST to deposit (e.g. '1000') | |
| network | No | Network. Default: mainnet |