Soren · Reveal

by Soren

GETBasebase

$0.02

per call · USD Coin on Base

Open a commitment issued by /v1/commit and receive a signed statement that the value matches what was sealed, and how long it was sealed for. A MISMATCH IS ALSO SIGNED, so an honest party can prove the other side produced something different from what it committed to. Use it to settle sealed bids and fair-play disputes. Verify with soren.com/oracle-key.json

Endpoint

GET https://soren.com/v1/reveal

3

Calls / 30d

1

Unique payers / 30d

Aug 26

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://soren.com/v1/reveal", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://soren.com/v1/reveal?commitment=%3Ccommitment+token%3E&preimage=my+sealed+bid%3A+4200" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "committed_at": "<ISO-8601 UTC>",
  "hash": "<64 hex>",
  "matches": true,
  "revealed": true,
  "revealed_at": "<ISO-8601 UTC>",
  "sealed_for_seconds": "<int>",
  "signature": {
    "algorithm": "Ed25519",
    "value": "<base64>"
  }
}

Payment details

Pay to0xadc3a47efbd82ed724a0e9a3d08d5a1a8e6586fd
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, base
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Soren & similar services