Optional
context?: ContextType.ContextThe Unix time in seconds when the delegation stops (and staked AVAX is returned).
Optional
locktime?: numberOptional. The unix timestamp in seconds after which the reward UTXO can be spent, once they are created after the staking period ends.
NodeID of the validator to delegate AVAX to.
The addresses which will receive the rewards from the delegated stake. Given addresses will share the reward UTXO.
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.
Optional
threshold?: numberOptional. The number of signatures required to spend the funds in the resultant reward UTXO.
Optional. The context to use for the transaction. If not provided, the context will be fetched.