Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AppliedWitnessUpdateOperation

Users who wish to become a witness must pay a fee acceptable to the current witnesses to apply for the position and allow voting to begin.

If the owner isn't a witness they will become a witness. Witnesses are charged a fee equal to 1 weeks worth of witness pay which in turn is derived from the current share supply. The fee is only applied if the owner is not already a witness.

If the block_signing_key is null then the witness is removed from contention. The network will pick the top 21 witnesses for producing blocks.

Hierarchy

Index

Properties

block

block: number

op

op: { type: "witness_update_operation"; value: { block_signing_key: string | PublicKey | null; fee: { amount: string; nai: string; precision: number }; owner: string; props: WitnessUpdateProperties; url: string } }

Type declaration

  • type: "witness_update_operation"
  • value: { block_signing_key: string | PublicKey | null; fee: { amount: string; nai: string; precision: number }; owner: string; props: WitnessUpdateProperties; url: string }
    • block_signing_key: string | PublicKey | null
    • fee: { amount: string; nai: string; precision: number }

      The fee paid to register a new witness, should be 10x current block production pay.

      • amount: string
      • nai: string
      • precision: number
    • owner: string
    • props: WitnessUpdateProperties
    • url: string

      URL for witness, usually a link to a post in the witness-category tag.

op_in_trx

op_in_trx: number

timestamp

timestamp: string

trx_id

trx_id: string

trx_in_block

trx_in_block: number

virtual_op

virtual_op: number

Generated using TypeDoc