DeclarationError: Undeclared identifier.
   --> contracts/TADIEngine.sol:211:29:
211 |     bytes32 assignedReqID = sendRequest(req, subscriptionId, gasLimit);
    |                             ^^^^^^^^^^^

Error HH600: Compilation failed

Hi guys I am using the chainlink functions hardhat starter kit. Failing to compile for some reason. sendRequest is a function in an imported contract. Link to the full contract:

1 Answer 1


I believe the issue is you need to let the contract know to inherit from FunctionsClient

contract TADIEngine is FunctionsClient{

  • you are a life saver my friend, slipped my mind, have a good day man bless Commented Jun 9, 2023 at 16:18

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.