NewDelegationWithdraw
NewDelegationWithdraw creates a new delegation withdrawal with lockup period. This is a convenience wrapper around staker.NewDelegationWithdraw.
Parameters:
- delegationID: unique identifier of the associated delegation
- unDelegateAmount: amount being withdrawn
- createdHeight: height when the withdrawal was created
- createdAt: timestamp when the withdrawal was created
- unDelegationLockupPeriod: duration of the lockup period in seconds
Returns:
- *staker.DelegationWithdraw: new withdrawal instance with lockup
Command
gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/gov/staker/v1.NewDelegationWithdraw(,,,,)"
Result