ConsensusCreate
RetireStakeTransaction
Returns a serialized `retire_stake` transaction. You can pay the transaction fee from a basic account (by providing the sender wallet) or from the staker account's balance (by not providing a sender wallet).
Parameters
| Prop | Type / Default |
|---|---|
senderWallet | string |
stakerWallet | string |
retireStake | number |
fee | number |
validityStartHeight | number |
Returns
| Prop | Type / Default |
|---|---|
returnValue | string |