post https://api.shasta.trongrid.io/wallet/votewitnessaccount
Vote for witnesses
Returns
Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is VoteWitnessContract
, the fields contained in raw_data.contract[0].parameter.value
in the transaction are as follows:
Field | Type | Description |
---|---|---|
owner_address | string | Account address |
votes | Vote[] | Voting list for super representatives, where the fields contained in each Vote are: vote_address: The address of the super candidate. vote_count: the number of votes for super candidates |