prepare_solana_nonce_close
Close a durable-nonce account to reclaim its full SOL rent deposit, returning balance to the wallet. Subsequent sends require re-initialization.
Instructions
Tear down a previously-initialized durable-nonce account and return its full balance (~0.00144 SOL) to the main wallet. ix[0] = SystemProgram.nonceAdvance (self-protecting, same pattern as any durable-nonce-protected send — so this close tx itself won't expire during Ledger review), ix[1] = SystemProgram.nonceWithdraw (drains the balance). After broadcast, subsequent sends from this wallet will refuse until prepare_solana_nonce_init is run again. Refuses if no nonce account exists for the wallet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Solana wallet whose durable-nonce account should be closed. The full balance (~0.00144 SOL rent-exempt seed) is returned to this same wallet. |