https-outcalls

Installation
SKILL.md

HTTPS Outcalls

What This Is

HTTPS outcalls allow canisters to make HTTP requests to external web services directly from on-chain code. Because the Internet Computer runs on a replicated subnet (multiple nodes execute the same code), all nodes must agree on the response. A transform function strips non-deterministic fields (timestamps, request IDs, ordering) so that every replica sees an identical response and can reach consensus.

Prerequisites

  • For Motoko: mo:core 2.0 and ic >= 2.1.0 in mops.toml
  • For Rust: ic-cdk >= 0.19, serde_json for JSON parsing

Canister IDs

HTTPS outcalls use the IC management canister:

Name Canister ID Used For
Management canister aaaaa-aa The http_request management call target
Related skills

More from dfinity/icskills

Installs
121
GitHub Stars
16
First Seen
Mar 4, 2026