Nimiq
consensus

Create retire stake transaction

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).

createRetireStakeTransactionrpc method

Parameters

senderWalletstringrequired
stakerWalletstringrequired
retireStakenumberrequired
feenumberrequired
validityStartHeightstring | numberrequired

Response fields

Stringstring

Interactive playground

Try the method against a public RPC endpoint.

Copyright © 2026