Hi all,
I’ve Google searched the error I got while trying to register a stake address to the blockchain but couldn’t find a solution. Therefore, I’m posting it here to hopefully have someone to help fix it. Sorry if it is a silly question or it has already answered somewhere.
I’m trying to register a stake address but I keep having this error:
“Error while submitting tx: ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (BadInputsUTxO (fromList [TxInCompact (TxId {_unTxId = “b64ae44e1195b04663ab863b62337e626c65b0c9855a9fbb9ef4458f81a6f5ee”}) 1])))),LedgerFailure (UtxowFailure (UtxoFailure (ValueNotConservedUTxO (Coin 0) (Coin 87177000))))]”
From Google search, I think it complained that my input coin amount is ZERO, but checking the balance, I did have the right amount which is 87177000
cardano-cli shelley query utxo --address $(cat payment.addr) --mainnet
TxHash TxIx Lovelacea7ff6b087e8f67df0ec356bf04b971e480a82548602d5b10a181f5d8b2e4e0dc 11 87177000
Below are the commands I used to submit the transaction:
cardano-cli shelley transaction build-raw --tx-in b64ae44e1195b04663ab863b62337e626c65b0c9855a9fbb9ef4458f81a6f5ee#1 --tx-out $(cat payment.addr)+85004547 --ttl 6224000 --fee 172453 --out-file tx.raw --certificate-file stake.cert
cardano-cli shelley transaction sign --tx-body-file tx.raw --signing-key-file payment.skey --signing-key-file stake.skey --mainnet --out-file tx.signed
cardano-cli shelley transaction submit --tx-file tx.signed --mainnet
Your help would be greatly appreciated. I’ve spent quite a lot of time trying to figure out ![]()
Thanks
