soliditychainlinkchainlink-keepers

Add LINK to a Chainlink Keeper Upkeep


I have a job on the Chainlink Keeper network, and I have a system to collect LINK token.

Is it possible to fund my keeper job without having to go through the UI in solidity?


Solution

  • Yes, anyone can call the addFunds function on the keeper registry contract.

      function addFunds(
        uint256 id,
        uint96 amount
      )
    

    You'd just need to pass in the keeper jobId and the amount you want to fund it with.