Skip to main content
Maintaining a feed requires an active subscription. Reading existing feeds requires no subscription.

1. Subscribe

maxPriceUsdc is a safety bound: the transaction aborts if the on-chain price is higher than the user approved.

2. Derive feedId

Feed identity is deterministic. No separate creation transaction is sent.
The first successful submit creates the Solana Feed account if it does not exist.

3. Request and submit

requestAndSubmit is equivalent to:

Constraints

  • Subscription must be active.
  • Requested quorum must be within the subscription’s signer limit.
  • Delegates must be active when the consumer authority differs from the subscription owner.
  • feedId must match the canonical API config hash and quorum.
  • A submitted update must have a strictly newer canonical_timestamp.

Fast repeated rounds

For repeated updates, cache registry selection config and nodes:

Next steps

Read and verify

Consume maintained feed accounts or verify fresh payloads.

Gateway API

HTTP route, request auth, x402, and settlement details.