G
$0.001
per call · USD Coin on Base
List supported RPC chains and methods.
Endpoint
GET https://gateway.spraay.app/api/v1/rpc/chains12
Calls / 30d
7
Unique payers / 30d
Sep 8
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://gateway.spraay.app/api/v1/rpc/chains", {
method: "GET",
});
const data = await res.json();cURL
curl -X GET \
"https://gateway.spraay.app/api/v1/rpc/chains" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"allowedMethods": [],
"chains": []
}Payment details
Pay to
0xad62f03c7514bb8c51f1ea70c2b75c37404695c8Asset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase, Solana
Schemesexact
Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Gateway & similar services
G
Gateway · Notify SMS
gateway.spraay.app
Send SMS notification for payment alerts.
POSTBaseDeveloper Tools
$0.02 / call26 calls / 30d
G
Gateway · Prices
gateway.spraay.app
Live token prices.
GETBaseMarket Data
$0.005 / call14 calls / 30d
G
Gateway · Swap Tokens
gateway.spraay.app
Supported swap tokens.
GETBaseDeFi
$0.001 / call7 calls / 30d