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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"apiConfig": "<apiConfig>",
"signaturesRequired": "<signaturesRequired>"
},
"name": "molpha_derive_feed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiConfig | Yes | ||
| signaturesRequired | Yes | ||
| rejectNonDeterministic | No |