Get the sending address of a transaction from UTXO

Hey everyone, I’ve searched the Internet and this forum, tried asking in various Discord servers but haven’t found the answer.

What I’m trying to do: Given a UTXO, get the sender address.

I have tried the cardano cli, up to 1.26.1. I’m hoping for a solution that doesn’t involve spinning my own graphql for just this one applicaiton but I found this GitHub - input-output-hk/cardano-graphql: GraphQL API for Cardano.

I found this as an external option But is there anything that can be done locally? I have a relay node running. I can build and send transactions. Basically I want the data that’s in every explorer such as

Thank you for the help I appreciate it.

You can query your transaction details via cardano-db-sync (graphql/rest/etc query layers rely on this common backend)

Hey thanks for your reply! Does this mean you have to get this running locally? GitHub - input-output-hk/cardano-graphql: GraphQL API for Cardano

Or is there a simpler way since it’s the infrastructure is fairly complex. I’m not quite sure what you mean by via cardano-db-sync? Do you have any docs or more concrete steps?


It is simply a postgres DB with a node and a daemon, I’d say it’s pretty basic for blockchain architecture. You can find doco for each component at
But if you’re simply looking to leverage off someone else’s node, then you can checkout or

This is really helpful, I’d seen dandelion but looking at blockfrost now too. Thank you so much!

1 Like