Vote on Block Producers

This action submits block producer vote. All available FIO Tokens in voting account are voted to every supplied block producer.

This action has to be serialized and signed!

Please note that this action has to be be serialized and signed before it's sent to the blockchain. The request object below only represents the action specific parameters and action specific response. See Write Transactions Guide for more information.

Actions parameters

  • account: eosio
  • name: voteproducer

SDK Sandbox Example

Stackblitz

Body Params
producers
array of strings
required

FIO Handles of block producers.

producers*
string
required
length between 3 and 64

FIO Handle is required if using bundled transactions to pay. May be left empty if paying a fee instead. It used to be called FIO Address, so you will still see it referred to as such.

integer
required
Defaults to 10000000000000

Maximum amount of SUFs the user is willing to pay for on-chain fee. Should be preceded by /get_fee for correct value.

Alternatively, you can set this number to a very high value, e.g. 10000000000000, since the user will only be charged the actual amount of the fee.

See

string
required

Represents FIO Account which will execute the action. In most cases this is the hashed FIO Public Key.

Response

Language
URL
LoadingLoading…
Response
Choose an example:
application/json