btc402 — a UnyKorn serviceProof page
UnyKornbtc402

btc402 — a UnyKorn service

Bitcoin node data, paid per call.

btc402 is a pay-per-call API gate operated by UnyKorn LLC. Each call returns Bitcoin mainnet data from UnyKorn's own node, and you can pay for it in USDC on Base over x402.

Demos

Live demos

These demos call the live gate and the Base blockchain from your browser. None of the values are sample data. If a read fails, the demo shows UNAVAILABLE instead of a value.

Ask for a quote

Calls /blockcount without paying. The gate answers HTTP 402 with a quote.

Verify a real payment

This runs the proof page's checks on the newest settlement that has a signed record. It runs eight checks in your browser: four on the record, four on the Base transfer. Each check reads PASS, FAIL or UNAVAILABLE. UNAVAILABLE means the check could not run here, and it never counts as a pass.

A valid signature shows this record was issued by the btc402 service key and has not been changed since. It is not an on-chain registry entry, not an external timestamp and not a third-party audit.

Gate status

—
Bitcoin block height
—
Self-tests
—
Paid calls from outside UnyKorn
Last proof check
—
Current signing key
—

Live values load with JavaScript.

The block height shown is the one carried by the newest signed record, not a live read of the node. The counts are as reported by the gate in /proof.json.

A self-test is a call UnyKorn pays to its own gate, from its own wallet, to test the gate. Self-tests are labelled "self-test" on the proof page and are not counted as outside paid calls.

Pay from your own wallet

Connect a browser wallet to pay (needs JavaScript).

x402

How paying works

  1. Ask. Call an endpoint such as /blockcount.
  2. Get a 402 quote. The gate answers HTTP 402 with the price, the asset (USDC on Base) and the address to pay.
  3. Sign. Your wallet signs one USDC transfer authorization for that price, and you send the call again with it.
  4. Get the data. The payment settles on Base, and the gate returns the data plus a signed record of the call.

Proof

What you can check

The proof page lists the settlements the gate has logged. Rows with a signed record can be checked in your browser.

What we've built

The build record is at /proof/records.json.

About UnyKorn

UnyKorn LLC (Wyoming).

Our service is a non-custodial gateway operated by UnyKorn LLC.

For developers

Public repository
FTHTrading/btc402-verify
QUICKSTART
docs/QUICKSTART.md
Command-line verifier
bin/verify.mjs

The free JSON routes need no key: /proof.json, /proof/status.json, /attestations, /attestations/key, /attestations/keys, /attestations/<digest>, /offer and /feed/kya-macro. The paid routes are /blockcount and /feeestimate, each at the price in its 402 quote.