Agent documentation index: llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

IWeb2JsonVerification (deprecated)

Deprecated

The Web2Json attestation type is deprecated and this page is no longer maintained. To bring Web2 data onchain, build a Flare Confidential Compute (FCC) extension instead. The Weather Insurance Extension guide shows an extension that fetches data from a Web2 API.

IWeb2JsonVerification is the verifier surface for the Web2Json attestation type. It is one of the parent interfaces inherited by IFdcVerification — in practice most consumers call verifyWeb2Json through ContractRegistry.getFdcVerification() rather than holding a separate IWeb2JsonVerification reference.

Sourced from IWeb2JsonVerification.sol on GitHub.

Functions​

verifyWeb2Json​

function verifyWeb2Json(IWeb2Json.Proof calldata _proof)
external view
returns (bool _proved);

Parameters

Returns

  • _proved: true if the merkle proof is consistent with the round's Merkle root maintained by the FDC Relay.