vote_witness
Vote for super representatives. Returns unsigned transaction hex for signing. Requires staked TRX (1 TRX staked = 1 vote).
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": {
"from": "<from>",
"votes": "<votes>"
},
"name": "vote_witness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Voter address (base58, starts with T) | |
| memo | No | Optional memo to attach to the transaction | |
| votes | Yes | Map of witness address to vote count, e.g., {"TKSXDA...": 100, "TLyqz...": 50} | |
| permission_id | No | Permission ID for multi-sig transactions |