I manage to retire the pool, as I understand the deposit will be returned to my rewards account, so I followed coincashew tutorial on how to claim your rewards
After running this command where I get my balance, I see this: Total ADA balance: 0
cardano-cli query utxo \
--address $(cat payment.addr) \
--mainnet > fullUtxo.out
tail -n +3 fullUtxo.out | sort -k3 -nr > balance.out
cat balance.out
tx_in=""
total_balance=0
while read -r utxo; do
in_addr=$(awk '{ print $1 }' <<< "${utxo}")
idx=$(awk '{ print $2 }' <<< "${utxo}")
utxo_balance=$(awk '{ print $3 }' <<< "${utxo}")
total_balance=$((${total_balance}+${utxo_balance}))
echo TxHash: ${in_addr}#${idx}
echo ADA: ${utxo_balance}
tx_in="${tx_in} --tx-in ${in_addr}#${idx}"
done < balance.out
txcnt=$(cat balance.out | wc -l)
echo Total ADA balance: ${total_balance}
echo Number of UTXOs: ${txcnt}
withdrawalString="$(cat stake.addr)+${rewardBalance}"
Can you please let me know why am I not seeing the deposit returned anywhere?
Here you can see my pool has been retired:
mcrio
13 October 2021 06:32
2
you will need to wait 2 epochs
cardanoscan.io saying something else ;), the 500 ADA are waiting for you to be withdrawn…
1 Like
mcrio
13 October 2021 06:40
4
Yes seems the pool already deregistered yesterday and deposit is part of the rewards
Oh Thank you guys!
I’m just trying to claim the reward and I get this message when running this command:
cat: stake.addr: No such file or directory
rewardBalance=$(cardano-cli query stake-address-info \
--mainnet \
--address $(cat stake.addr) | jq -r ".[0].rewardAccountBalance")
echo rewardBalance: $rewardBalance
How can I get this file? I cant see it on the folder
deibizide:
ake.addr: No
you should have this file it was generated when you created the wallet, check the bkp files… perhaps you stored them there…
mcrio
13 October 2021 09:14
7
I also don’t see your payment private key (payment.skey). Maybe you are storing the private keys somewhere else?
If you can find the stake verification key, you can always regenerate the stake address:
cardano-cli stake-address build \
--stake-verification-key-file stake.vkey \
--out-file stake-address-regenerated.addr \
--mainnet