Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
owner_address
— address of the account casting votes in hexadecimal formatvotes
— array of vote allocations, each containing:vote_address
— hexadecimal address of the witness to vote forvote_count
— number of votes to allocate to this witness
Response
visible
— boolean indicating whether addresses are in visible formattxID
— unique transaction ID for the voting transactionraw_data
— raw transaction data containing:contract
— array with witness voting contract detailsref_block_bytes
— reference block bytes for transaction validationref_block_hash
— hash of the reference blockexpiration
— transaction expiration timestamptimestamp
— transaction creation timestamp
raw_data_hex
— complete transaction data encoded in hexadecimal format
Use case
Thewallet/votewitnessaccount
method is used for:
- Participating in TRON network governance by voting for preferred witnesses.
- Supporting witnesses that align with your vision for network development.
- Earning voting rewards from witnesses who share profits with their voters.
- Influencing which witnesses become the top 27 Super Representatives.
- Distributing voting power across multiple witnesses for diversification.
- Contributing to network decentralization through democratic participation.
You can only vote using frozen TRX balance. You must have TRX frozen for Energy or Bandwidth to be eligible for voting. The total number of votes cannot exceed your frozen TRX balance, and votes can be distributed among multiple witnesses.
Body
application/json