Web access

Intelligent Contracts can retrieve web pages and HTTP resources inside non-deterministic blocks. This lets a contract evaluate public evidence without relying on one oracle to publish a preselected value.

Direct access does not make web data deterministic or inherently trustworthy. Sources can change between requests, return personalized content, fail, or contain adversarial instructions. The contract must define which sources and evidence count and how validators assess the leader's result.

Validation patterns

  • Retrieve the same source independently and compare a structured fact.
  • Require multiple independent sources for a claim.
  • Check provenance, timestamps, status codes, and expected content shape.
  • Render a page when important information depends on client-side behavior.
  • Return a defined failure result when evidence is unavailable or inconsistent.

Prefer stable, authoritative sources and extract only the facts the contract needs. Where possible, validate hashes, signatures, or other objective evidence before using qualitative interpretation.

For current APIs and examples, see web access and non-determinism.