DataUpdateResult — a payload ready to submit to any chain’s verifier. The recommended access path is the SDK gateway client (sdk.gateway), which handles auth, context caching, and struct assembly.
requestSignedData
DataUpdateResult. result.fresh indicates whether the value was freshly fetched this round (false means the gateway served a cached result — no new round was executed).
Execution is authenticated with an authSig produced by the wallet’s signAuthMessage; keypair-backed wallets sign automatically. Without a signing-capable wallet the SDK falls back to an all-zero authSig — accepted on testnet for development only.
prepareContext
RoundContext so each subsequent requestSignedData call is a single gateway POST — use this for fast repeated rounds.
Response shape
The flatDataUpdateResult maps 1:1 onto every chain’s verifier structs via buildEvmVerifierArgs / buildStarknetVerifierArgs, or directly into Solana’s SubmitDataUpdateArgs:
HTTP gateway notes
- Authentication: requests carry an
authSigproduced by the caller’s wallet (signAuthMessage). An all-zeroauthSigis accepted on testnet for development only. - Caching: the gateway may serve a cached result;
fresh: falseindicates no new round was executed. The cached payload can also be retrieved without triggering a round (passive pull); on Solana, the equivalent is reading theFeedaccount. - Registry: the SDK caches the registry version and node set per job via
prepareContext(jobId).
The raw HTTP request schema, routes, and error catalog are pending publication of the gateway HTTP spec. For on-chain (Solana program) errors, see the Solana error table.