I am using


And able to get list of events from each block and also able to filter it out but is there a way to identify which contract triggered the event.

  • Have you seen github.com/paritytech/subxt ? As I say you tagged rust I assumed rust based subscription is what you wanted. If historical, you likely want something else like an indexer or block explorer.
    – Nuke
    Nov 2, 2022 at 11:49
  • I am using Golang interface to catch events emitted by contracts in rust. As application is written in golang.
    – 18dew
    Nov 2, 2022 at 18:10

1 Answer 1


The ContractsEmitted event layout has Contract field - this is what you need.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.