Skip to content

Functions Architecture

This diagram shows the full request lifecycle.

graph TD; A[User] --> B[Smart Contract]; B --> C[Chainlink DON]; C --> D[Offchain Compute JS]; D --> E[Response Signed]; E --> B;
  1. User calls the smart contract
  2. Smart contract emits a Functions request
  3. Chainlink DON listens for the request
  4. Offchain JS executes
  5. Response is signed
  6. Result is returned onchain