Avalanche SDK Client - v0.0.4-alpha.14
    Preparing search index...

    Type Alias PrepareAddAutoRenewedValidatorTxnParameters

    PrepareAddAutoRenewedValidatorTxnParameters: CommonTxParams & {
        autoCompoundRewardPercentage: number;
        context?: ContextType.Context;
        delegatorRewardAddresses: string[];
        delegatorRewardPercentage: number;
        locktime?: bigint;
        nodeId: string;
        ownerAddresses: string[];
        period: bigint;
        publicKey: string;
        rewardAddresses: string[];
        signature: string;
        stakeInNanoAvax: bigint;
        threshold?: number;
    }

    Type declaration

    • autoCompoundRewardPercentage: number

      Percentage of rewards to restake at each cycle boundary. 0 withdraws all rewards and 100 restakes all rewards.

    • Optionalcontext?: ContextType.Context

      Optional. The context to use for the transaction. If not provided, the context will be fetched.

    • delegatorRewardAddresses: string[]

      The addresses which will receive the delegator fee rewards.

    • delegatorRewardPercentage: number

      The percentage of delegator rewards given to the validator or delegatorRewardAddresses as a delegation fee. Valid up to 3 decimal places.

    • Optionallocktime?: bigint

      Optional. The unix timestamp in seconds after which the reward UTXO can be spent once created after a validation cycle.

      0
      
    • nodeId: string

      The NodeID of the validator being added.

    • ownerAddresses: string[]

      The addresses authorized to update the auto-renewed validator config.

    • period: bigint

      Auto-renewal cycle duration in seconds.

    • publicKey: string

      The BLS public key (in hex format) of the validator being added.

    • rewardAddresses: string[]

      The addresses which will receive the validator rewards.

    • signature: string

      The BLS proof of possession signature (in hex format).

    • stakeInNanoAvax: bigint

      Amount of AVAX to stake. The staked amount in nAVAX will represent the weight of this validator on the network.

    • Optionalthreshold?: number

      Optional. The number of signatures required to spend the funds in the resultant reward UTXO.

      1