cardano-cli: Command to retrieve payer and receiver addresses of any transaction

Viewed 586

I have a service that needs to poll a bunch of payment addresses using cardano-cli command and listen for any incoming payment transactions. Using CLI, I can query the UTXO of each address and see that the payment has been received, but I could not figure out a way to get the sender's address. Is there a CLI command to retrieve it?

Using the following command, I can read the list of transaction hashes and identifiers. Can I use that hash somehow to fetch the sender's address?

cardano-cli query utxo --address $ADDRESS --testnet-magic $NETWORK
1 Answers
Related