NewDelegationWithdraw
NewDelegationWithdraw creates a new delegation withdrawal with lockup period. The withdrawal will be collectable after the lockup period expires.
Parameters:
- delegationID: unique identifier of the associated delegation
- unDelegateAmount: amount being withdrawn
- createdAt: timestamp when the withdrawal was created
- unDelegationLockupPeriod: duration of the lockup period in seconds
Returns:
- *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.NewDelegationWithdraw(,,,,)"
Result