The gateway sits between your client and two kinds of upstreams:Documentation Index
Fetch the complete documentation index at: https://docs.ryvo.network/llms.txt
Use this file to discover all available pages before exploring further.
- Paid Solana RPC and DAS routes from Alchemy and Helius, priced per call in USDC.
- Wallet-authenticated Tokens API routes, where the gateway holds the upstream key and you authenticate with your Solana wallet.
The shape of a call
- Resolves which route you are calling.
- Validates your input before touching anything upstream.
- Asks for payment (paid routes) or a wallet signature (Tokens API) if you did not include one.
- Calls the upstream provider.
- Settles the payment only after the upstream responds successfully.
- Returns the upstream JSON to you, along with a proof of settlement where applicable.
Paid routes - pay per call in USDC
Paid Solana RPC and DAS routes use the standard x402exact payment flow:
- Client sends the request (for example,
POST /v1/x402/solana/mainnet/alchemy/rpc/getBalance). - Gateway returns
402 Payment Requiredwith an envelope describing:scheme: "exact"network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpasset: USDCmaxAmountRequired- the price in micro-USDCpayTo- the gateway’s settlement wallet
- Client signs a Solana USDC transfer for that amount, encodes it into
PAYMENT-SIGNATURE, and retries the request. - Gateway verifies the signed transfer.
- Gateway calls the upstream provider with the real request payload.
- Gateway submits the payment on-chain only after a successful upstream response.
- Gateway returns the upstream JSON plus the Solana settlement transaction in
X-PAYMENT-RESPONSE.
Tokens API - sign in with your wallet
Tokens API routes use the sign-in-with-x extension of x402. No USDC is transferred; you prove ownership of a wallet and the gateway calls the Tokens API on your behalf.- Client sends the request (for example,
GET /v1/x402/tokens/health). - Gateway returns
402 Payment Requiredwith asign-in-with-xchallenge declaring:- acceptable
networks (Solana mainnet and devnet) - a sign-in
statement - an
expirationSecondswindow (300 seconds)
- acceptable
- Client signs a SIWX message with their wallet, encodes it into
SIGN-IN-WITH-X, and retries. - Gateway verifies the signature and expiration.
- Gateway calls the Tokens API with its server-side credential and returns the response.
Upstream providers
| Provider | Clusters | Surfaces | Notes |
|---|---|---|---|
| Alchemy | mainnet, devnet | rpc, das (mainnet only) | Pay-as-you-go compute-unit pricing |
| Helius | mainnet, devnet | rpc, das, wallet (wallet is mainnet-only) | Pay-as-you-go per-credit pricing |
| Tokens API | n/a | tokens | Wallet sign-in (SIWX) instead of per-call pricing |
Discovery
- Every route advertises its price, access mode, and input/output schemas in its
402challenge. GET /v1/catalogreturns the full route list in a single response, ideal for agents and tooling that need to enumerate what is available without probing each endpoint.- Paid routes are crawlable by x402 discovery services because they always return
402on an unpaid probe, never leaking upstream data.
