F

Fairseal · RNG Latest

by Fairseal

GETBase

$0.005

per call · USD Coin on Base

Verifiable random numbers with cryptographic epoch references. Wesolowski 2048-bit VDF epoch chain with on-chain MerkleAnchor reference. For unbiased randomness: POST /v1/rng/commit (free), then GET the reveal_url returned in the response. Do not construct reveal paths yourself.

Endpoint

GET https://x402.fairseal.io/v1/rng/latest

12

Calls / 30d

4

Unique payers / 30d

Sep 9

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://x402.fairseal.io/v1/rng/latest", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402.fairseal.io/v1/rng/latest" \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0xbd5eb5559f5ac14475ac0c81b6735a4d9106ce28
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact, batch-settlement

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Fairseal & similar services