Set FIO Domain Public or Private

This call sets the is_public switch on the supplied FIO Domain.

By default all FIO Domains are non-public, meaning only the owner can register FIO Crypto Handles (aka FIO Addresses) on that domain. Setting them to public allows anyone to register a FIO Crypto Handle on that domain.

The actor must own the supplied FIO Domain.

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: fio.address
  • name: setdomainpub

SDK Sandbox Example

Stackblitz

Body Params
string
required
integer
required

1 - allows anyone to register FIO Handle; 0 - only owner of FIO Domain can register FIO Handle on it.

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
length between 3 and 64
Defaults to vitalik@safu

FIO Handle of the wallet which generated this transaction. This FIO Handle will be paid 10% of the fee collected. Set to empty if not known.

See Transaction Provider ID (TPID) Guide for more information.

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