Cardano-cli look up wallet address from TxHash

Hi all,

I’m wondering how it would be best to lookup the addr_* for an UTXO TxHash.

I can easily go from addr to find the TxHash’s and TxIx’s with:

cardano-cli query utxo --address addr_test1xxxx --testnet-magic 1097911063

But how can I come back to find the addr from one of the TxHash’s?

Eg… 3be08c15f1ae3cdab08628241b7d183ebf9d6c6cae9fdcb548cc0f20a0cdxxxx → addr_test1xxxx

Thank you :slight_smile:

If you have the TxHash, you can do this …

https://docs.blockfrost.io/#tag/Cardano-Transactions/paths/~1txs~1{hash}~1utxos/get

2 Likes

Thanks @tomdx! I’ll use that if I have to.

I’m assuming it’s not possible with cardano-cli? Thanks.