Avalanche SDK Client
    Preparing search index...

    Type Alias PrepareAddSubnetValidatorTxnParameters

    PrepareAddSubnetValidatorTxnParameters: CommonTxParams & {
        context?: ContextType.Context;
        end: bigint;
        nodeId: string;
        subnetAuth: readonly (...)[];
        subnetId: string;
        weight: bigint;
    }

    Type declaration

    • Optionalcontext?: ContextType.Context

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

    • end: bigint

      End timestamp in seconds after which the subnet validator will be removed from the subnet's validator set.

    • nodeId: string

      Node ID of the validator being added.

    • subnetAuth: readonly (...)[]

      Array of indices from the subnet's owners array who will sign this AddSubnetValidatorTx.

    • subnetId: string

      Subnet ID to add the validator to.

    • weight: bigint

      Weight of the validator that will be used during consensus.