Derive Molpha feedId
molpha_derive_feedCompute the feedId for an oracle spec locally from API config and signature requirements, with no transaction needed. Use it to preview feedId before fetching verified data or settling.
Instructions
Locally derive the feedId for a declarative spec (apiConfig + quorum) — no transaction, no subscription required. feedId = keccak256(owner || apiConfigHash || signaturesRequired); the feed itself is created lazily on-chain at first settle (subscription or x402 round). Call this to preview a feedId before molpha_fetch_verified, or to check what feedId a given spec resolves to for the current signer. Prefer settled/finalized data — independent nodes must converge on a byte-identical value to co-sign.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiConfig | Yes | ||
| signaturesRequired | Yes | ||
| rejectNonDeterministic | No |