Auditable HTTP Requests with “fetch”
Make HTTP requests with automatic retries and logging. This is how compose apps interact with outside, off-chain systems. All fetch behavior is fully recorded in our event logs, making Compose App functionality fully auditable. For example, if you have an oracle that is advertised to be driven by an aggregate of several well known price feeds, users of DApps built with this oracle can audit the calls made to determine their prices, ensuring the price logic is fair and works as advertised.FetchConfig is:
ContextFunctionRetryConfig is:
Examples
Basic GET Request
POST Request with JSON Body
POST requests can be used to trigger other tasks from within a taskRequest with Custom Retry Configuration
Next Steps
Collections
Manage state across tasks and task runs with collections.
EVM
Interact with EVM blockchains and smart contracts.