📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

Method: POST /wallet/votewitnessaccount

dropdown

Method REST /wallet/votewitnessaccount example for Tron (TRX)

POST /wallet/votewitnessaccount

Method not allowed

Vote for witnesses

Parameters

owner_address - string

Owner address, default hexString

votes - array of json objects

format: - vote_address - string - stands for the address of the witness you want to vote, default hexString, - vote_count - int_32 - stands for the number of votes you want to vote

permission_id - int32

Optional, for multi-signature use

visible - boolean

Optional, Whether the address is in base58 format.

Request

curl --location --request POST 'https://trx.getblock.io/wallet/votewitnessaccount' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}