Payment.addr UTXO out showing 0 ADA

Hello,

so the title says it all. I’ve generated my payment.addr using the mnemonic method for simplicity, and it has been fine for about 3 months. Now that I want to change my pledge, the payment.addr UTXO shows 0 ADA instead of the wallet balance. The stake to my pool is showing correctly (my wallet balance) on adapools and my pledge is shown as fulfilled. But now that I want to change my pledge it won’t let me, and the payment.addr UTXO shows 0 ADA.

Thanks for any tips,

Matic

Hi!

And what the http://explorer.cardano.org/ saying about that address?
And since you have the recovery phase you can open this address as a wallet in Yoroi to check the balance…

Have you recovered the mnemonics in Daedalus or Yoroi and made some transactions using those wallets by any chance ?

The wallet has not been recovered, but transactions were made on the wallet, is that a problem?

Yes, the address is linked to the yoroi wallet.

I ask because Daedalus and Yoroi always send the change to a fresh addr derived from the same key. So when you check the utxo of the pay.addr that you reuse, it would show 0.

You would have to check the addr where the funds are according to Yoroi then.

1 Like

Oh, alright. So it’s normal for it to show 0 then as far as I understand? But the problem still persists:

cardano-cli transaction build-raw \

${tx_in} \
--tx-out $(cat payment.addr)+$(( ${total_balance} - ${stakePoolDeposit}))  \
--invalid-hereafter $(( ${currentSlot} + 10000)) \
--fee 0 \
--certificate-file pool.cert \
--certificate-file deleg.cert \
--out-file tx.tmp

Output:
Missing: (–tx-in TX-IN)

you must specify --tx-in utxo#index in your command.
What is ${tx_in} ? Unclear to me in your context

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}

can you just simply perform:

cardano-cli query utxo --address $(cat pay.addr) --mainnet without scripting. This should give you an output of the utxo living on this address.

Shows empty :confused:

                       TxHash                                 TxIx        Amount

Recover your mnemonic on Yoroi for example to understand on which address your funds reside.

Hm, but I’m already signed into my Yoroi wallet and it shows the presumed blocks and stuff like that for my pool.

So!

What is your purpose? registering a pool?
Have you checked your balance on explorer.cardano.org by searching the payment.addr?

I am talking here of your wallet lacking your funds. The funds must reside on another address derived from the same key. Explore the addresses in Yoroi to understand where they are. Otherwise you would not be still fulfilling your pledge.

Nope, just wanting to change the pledge.

Oh, alright. I’ll check and get back to you. Where can I see the addresses exactly?

use Advanced yoroi. you run a node, you should be able to manage :smiley:

use the command cat payment.addr and paste the output to the search bar of explorer.

Yeah, sorry I only do the node side of the stake pool, a friend funds it haha…

Yes, there are multiple addresses linked to the same stake key and if i prompt the address with the funds, it shows it correctly, but the payment.addr still doesn’t output any address.