Find the address of the sender

Hey,

I wanted to ask how do I find the address of the sender via cardano-cli.
Say that a person sends me X ADA and I’d like to send some back to them, how can I find that person’s wallet address? What are the cardano-cli argument that I need to use?

Thanks

Unfortunately, cardano-cli does not have this capability. The cardano-db-sync and cardano-graphql tools do, as do services such as blockfrost.io.

There is also example Haskell code in cardano-client-demo that shows how to iterate through blocks (historical and new), and you could track incoming transactions to a particular address.

1 Like