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.

interface AppliedWitnessUpdateOperation {
    block: number;
    op: {
        type: "witness_update_operation";
        value: {
            block_signing_key: null | string | PublicKey;
            fee: {
                amount: string;
                nai: string;
                precision: number;
            };
            owner: string;
            props: WitnessUpdateProperties;
            url: string;
        };
    };
    op_in_trx: number;
    timestamp: string;
    trx_id: string;
    trx_in_block: number;
    virtual_op: number;
}

Hierarchy (view full)

Properties

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

Type declaration

  • type: "witness_update_operation"
  • value: {
        block_signing_key: null | string | PublicKey;
        fee: {
            amount: string;
            nai: string;
            precision: number;
        };
        owner: string;
        props: WitnessUpdateProperties;
        url: string;
    }
    • block_signing_key: null | string | PublicKey
    • 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: number
timestamp: string
trx_id: string
trx_in_block: number
virtual_op: number