API Interactions

The CRE SDK provides an HTTP client that allows your workflows to interact with external APIs. Use it to fetch offchain data, send results to other systems, or trigger external events.

Guides

CRE reports over HTTP

A CRE report is a DON-signed package your workflow creates with runtime.report() (TypeScript) or runtime.GenerateReport() (Go). It contains your encoded payload, workflow metadata, and cryptographic signatures.

A typical secure integration uses two parties:

  1. Sender: a CRE workflow that runs your logic, signs a report, and POSTs it to a URL. See Submitting Reports via HTTP.
  2. Receiver: your API or another CRE workflow that verifies the report before using the data. See Verifying CRE Reports Offchain.

The sender creates the report inside the workflow; the receiver must verify signatures before trusting the payload.

Get the latest Chainlink content straight to your inbox.