evm, starknet or svm names a chain by its CAIP-2 id, never an RPC endpoint: each node reads through its own providers, so no single operator or provider sits in every node’s read path. For how an input fits into a source, see Source format.
What a source can read
Starknet addresses, keys and calldata are canonical felts:
0x, lowercase hex, no leading zeros. Explorers show the Starknet ETH token as 0x049d3657…; write 0x49d3657…. A zero-padded value is rejected with must be a canonical felt.One block for every node (EVM and Starknet)
Nodes do not each read “the latest block”: they would disagree, and exact mode needs every node to sign the same bytes. Instead the round’s timestamp fixes the block. For a round at timet the nodes read the newest block at or before t - lagMs that is also final enough, so every honest node derives the same block number and reads the same state, whichever of its endpoints answers. That is why a value that changes every few minutes, such as a price oracle’s answer, can be signed in exact mode when it is read on-chain. A transform can refer to the pinned block as $block when the source has exactly one chain input.
finality has three parts:
A node needs a block that is both older than
t - lagMs and final. If the chain’s finalized head is newer than the pinned time (the lag is shorter than the finality delay), no block qualifies: the node waits out the round and refuses it with finality head has not reached the pinned time. The minimums below exist to prevent that, and a gateway refuses a source outside them with a 400 before anything is reserved.
Ethereum’s
finalized head is two to three epochs old (13 to 19 minutes) and its safe head one to two epochs (6 to 13 minutes), so the minimum lags are 20 minutes and 14 minutes. A lag of 15 minutes looks reasonable and fails about half the time.confirmations the minimum lag is (n + 2) block times, rounded up to a whole second: the pinned block must be n deep with a block or two of propagation to spare.
The upper bound is the state window: about 120 blocks, within the roughly 128 recent states a pruned full node keeps. A longer lag would read state that some node can no longer serve.
Solana accounts
Solana reads are not pinned to a block: nodes read the account at the commitment you choose (finalized or confirmed) and refuse a read whose slot is older than maxAgeMs. Nodes land on slots a few hundred milliseconds apart, so an account that changes every slot (an AMM pool, an order book) gives different bytes on different nodes and fails in exact mode. Use tolerance mode for those, or read something that changes slowly: a token mint’s decimals, a configuration account.
A source cannot read an account owned by the Molpha program itself, so a feed’s output can never become one of its own inputs.
Supported chains
The list is published with the SDK (CHAIN_LIST, checked by checkChains) and enforced by the gateway and the nodes with the same numbers. They are protocol estimates, set conservatively, not measurements of each chain’s current behavior.
EVM
finalized is offered only where the tag tracks the chain’s own finality within seconds. An Ethereum-settled rollup’s finalized tag trails its head by 15 minutes to hours, far past its state window, so rollups offer confirmations only.
Starknet
Solana
The Solana id is
solana: followed by the first 32 characters of the cluster’s genesis hash.
Chains enabled on gateway.molpha.io
On 2026-11-30 the public gateway accepted chain inputs on these chains (http inputs need no chain):
The current list is
previewChains in GET /v1/info. A source can read mainnet state even though the Molpha program runs on Solana devnet: the chain an input reads and the chain an attestation is verified on are independent.
Which chains a gateway and its nodes serve
Being on the list is necessary, not sufficient:- The gateway enables a subset. A gateway accepts only the chains its operator has enabled, and answers
400chain … is not supportedfor any other. The default is none, which serves HTTP sources only. - Every node must serve the chain. A node serves a chain when it has an endpoint it has verified for it: API keys for the built-in RPC providers (Alchemy and Infura cover every chain above; Helius adds Solana), or the operator’s own endpoints. A chain should be enabled on a gateway only when every active node serves it; otherwise rounds for it are refused with
chain … is not served by this node, before any node does work. - Each chain has a fallback. A node tries a chain’s endpoints in order and moves to the next when one fails; an endpoint is verified once, at startup, against the chain it is configured for (its chain id or genesis hash) before it is ever used, so a misconfigured fallback cannot answer for the wrong network. Nodes do not re-check on a timer, so an idle node makes no chain RPC calls; a chain whose providers were all down at startup is checked again only when a round asks for it.
Errors you may see
A
503 for a source that the nodes ran and could not evaluate is reported by the MCP server as source_failed; see the tools’ errors.