Skip to main content
Subscriptions are the producer access model. A subscription lets a wallet request and settle rounds for feeds derived from that wallet or its delegates.

Use subscriptions when

  • You publish a feed that other users or contracts consume.
  • You need ongoing quota instead of one-off requests.
  • You want stable feed ownership and delegate management.
  • You operate a backend or keeper that updates Solana feed accounts.

Flow

  1. Fund the owner wallet with Solana Devnet SOL and Devnet USDC.
  2. Fetch the current plan price.
  3. Subscribe with an explicit maxPriceUsdc safety bound.
  4. Derive the feedId.
  5. Request signed updates through the gateway.
  6. Submit verified updates to Solana when you maintain a public feed account.

What a plan controls

The Subscription account also tracks used_rounds / max_rounds (initialized to unlimited) and mirrors max_signers / max_delegates from the plan at subscribe time.

Consumer note

Consumers do not need a subscription to read an existing feed or verify a signed payload. They only need the payload, the verifier address/program, and their own freshness policy.

Next steps

Delegates

Authorize a hot agent key under this subscription.

Maintain a feed

Producer walkthrough for subscriptions and feed updates.