1

Can a chain link node listen to ethereum smart contracts events? Let’s say I want to provide data to a node from a smart contract. Can a I link a chain link node and use a smart contract as an oracle?

1

Yes. In fact that’s how the Chainlink nodes operate.

When calling buildChainlinkRequest and sendChainlinkRequestTo In the any API call feature you are actually emitting events that chainlink nodes look for.

You can modify this to have a node looo for your specific event, but you need to use a node that uses an ethLog initiator instead of runLog. Check out the initiators documentation.

2
  • What listens for the ethereum smart contract events? Is it a chain link smart contract or a single chain link node? – YulePale Apr 7 at 4:19
  • 1
    Smart contracts can’t “listen” to events, only an off-chain system can. So it’s the chainlink node that listens. – Patrick Collins Apr 7 at 10:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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