I followed the documentation for building a Relay and Block node. Part of that involved sending some ADA to the block producing node's address, to be used as a stake pool deposit.
However, the documentation showed the deposit as 2,000,000 lovelace. In fact it's 500,000,000 according to
mainnet-shelley-genesis.json, and that's too rich for me to play with tutorials. So I'd like to return the ADA from the Block node to my wallet.
I found this document showing how to make a payment. I calculated the amount to be the total holding balance of the Block address, less the fee.
The transaction failed. Here's the error:
Command failed: transaction submit Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraMary (ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (OutputTooSmallUTxO [(Addr Mainnet (KeyHashObj (KeyHash "f1a1639d8012278565242d449223c7d40e6e87c81021b99f3bac4749")) (StakeRefBase (KeyHashObj (KeyHash "a9f00a2910b88d5aacd9ef1c8ef4d06ebf7faf1618876a60ed088cc1"))),Value 1 (fromList ))])))])
I don't understand the error, and I'm wondering if the documentation is outdated (given the stake deposit was wrong).
Is there a more current document showing how to submit a payment, using cardano-cli and keys?