Retiring a Stake Pool out of eMax

Hi, I think I did something wrong, when I made the transaction with the de-registration cert I didn’t add the 500 of deposit in that transaction. I thought this would be automatically; the same about 2ADA of deregister of stake address. I was just waiting for the next epoch for pool retirement and I was waiting for the the deposit but I dont recibe it. So my question is: Can I bring back the deposit with repeting the transaction with the de-registration cert and adding the deposit founds?

Yes, it should work but first provide the ticker please

Are u sure that the 2 ADA will be automated added? For me It doesnt make sense. For the deposit you must to specify in the transaction and for the 2ADA it is automated

It’s not very clear for me what u want to do but if u want to retire the pool then:

  • send the de-registration certificate and wait for the next epoch to receive the 500 ADA back as a reward
  • withdraw the rewards to payment.addr (u can find how to on councashew guide - section withdraw the rewards - CHAPTER 18.x)
  • deregister the stake address to receive back the 2ADA paid for stake registration

!!! DO NOT de-register the stake address untill u will not receive/withdraw the 500 ADA

cardano-cli stake-address deregistration-certificate \
    --stake-verification-key-file stake.vkey \
    --out-file stake.cert

And then build a transaction with this certificate. Specifically you need to increase the change amount by 2 ADA and minus the transaction.

txOut=$((${total_balance}+${keyDeposit}-${fee}))
cardano-cli transaction build-raw \
    ${tx_in} \
    --tx-out $(cat payment.addr)+${txOut} \
    --invalid-hereafter $(( ${currentSlot} + 10000)) \
    --fee ${fee} \
    --certificate-file stake.cert \
    --mainnet \
    --out-file tx.raw

Submit the transaction

  • send the funds from payment.addr to another wallet (u can find the steps on coincashew guide - send a simple transaction - CHAPTER 18.x)

Cheers,

Thank your for providing the ticker… u can skip the step 1 the pool is already deregistered and u received the 500 ADA as a reward

Now u must to withdraw the reward then deregister the stake address then move the funds

Ahh okay. I didn’t know that the deposit is refund as a reward…

About the order that you specify, It would be:

  1. Withdraw the rewards to my payment.addr
  2. Move the funds of the paymentstake.addr to payment.addr
  3. Deregister paymentstake.addr specifying the 2ADA (keyDeposit) on that transaction

thank u

  • withdraw the rewards (at this step the rewards will be moved from stake.addr to payment.addr - can be spend)
  • deregister the stake address to receive back the 2ADA but first be sure that u succesfully withdrew the rewards(500ADA) - u can check on cardanoscan.io also … u should see rewards withdrawn
  • if it’s the case move the funds to another wallet (for example if this is a cli wallet (not imported) and u will want to send the ADA to a daedalus/yoroi wallet

Always test with 10 ADA for first time!thank you,