Patrick Collins
Patrick Collins

Reputation: 6131

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?

Upvotes: 0

Views: 149

Answers (1)

Patrick Collins
Patrick Collins

Reputation: 6131

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.

Upvotes: 3

Related Questions