Avalanche SDK Client
    Preparing search index...

    Type Alias PrepareAddPermissionlessDelegatorTxnParameters

    PrepareAddPermissionlessDelegatorTxnParameters: CommonTxParams & {
        context?: ContextType.Context;
        end: number;
        locktime?: number;
        nodeId: string;
        rewardAddresses: string[];
        stakeInAvax: number;
        threshold?: number;
    }

    Type declaration

    • Optionalcontext?: ContextType.Context

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

    • end: number

      The Unix time in seconds when the delegation stops (and staked AVAX is returned).

    • Optionallocktime?: number

      Optional. The unix timestamp in seconds after which the reward UTXO can be spent, once they are created after the staking period ends.

      0
      
    • nodeId: string

      NodeID of the validator to delegate AVAX to.

    • rewardAddresses: string[]

      The addresses which will receive the rewards from the delegated stake. Given addresses will share the reward UTXO.

    • stakeInAvax: number

      Amount of AVAX to stake. This amount will be locked until the end of the staking period. The staked outputs will be consolidated into a single output and owned by the changeAddresses or the fromAddresses array.

    • Optionalthreshold?: number

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

      1