Register Block Producer

This action registers calling account as a block producer.

See Being a FIO Block Producer guide for more information.

As of FIP-47, this action can be called even when producer is already registered to update their information.

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: regproducer

SDK Sandbox Example

Stackblitz

Body Params
string
required
length between 3 and 64

FIO Handle. It used to be called FIO Address, so you will still see it referred to as such.

string
required

The producer's public key that is used for signing (this key may be different from the key associated with actor.

string
required

URL of block producer's website.

integer
required

Location ID of where BPs servers are located. See table below.

LocationDescription
10East Asia
20Australia
30West Asia
40Africa
50Europe
60East North America
70South America
80West North America
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
Request
Response
Choose an example:
application/json