Skip to main content
Skills are not free to read. The gateway sells a skill’s source over x402, the pay-per-request standard, and the payment settles on Hedera through the Blocky402 facilitator. Every payment mints a licence NFT, so the same account never pays twice.
x402 payment sequence between the agent, the gateway and Blocky402

One paid request: the 402, the signed transfer, Blocky402 settling it, and the licence NFT minted at the end.

The flow, step by step

1

Ask for the source

The agent calls GET /skills/:id/source with a header saying which Hedera account it is. If that account already holds the skill’s licence NFT, it gets the source for free.
2

Get the price (402)

Otherwise the gateway replies 402 Payment Required with a PAYMENT-REQUIRED header. The price is metered per kilobyte: ceil(bytes / 1024) × 0.001 USDC. It is offered as two legs — pay in HTS USDC (0.0.429274) or in HBAR.
3

Sign and retry

The agent signs a partly-signed Hedera transfer (its own key only; the network fee is left to the facilitator) and retries with a PAYMENT-SIGNATURE header.
4

Blocky402 settles it

The gateway hands the signed transfer to Blocky402. The facilitator co-signs as fee payer, submits it, and pays the network fee itself.
5

Source, licence, and receipt

The gateway returns 200 with the source and a PAYMENT-RESPONSE header carrying the Hedera transaction ID. In the background it writes PAYMENT_SETTLED to Hedera, mints the licence NFT to the payer, and writes LICENSE_MINTED.

Real settlements

Real testnet transactions. Open any of them to see the token transfer on HashScan.
Twelve real paid requests have settled in total — some in HBAR, some in HTS USDC. The full list, with the exact token_transfers and fees, is in EVIDENCE.md.

Where you can see it in the UI

Use this skill section with the 402 paywall

The 'Use this skill' section: the live paywall, the licence holders, and the payments ledger.

On any skill page, press Request the source to see the exact 402 an agent gets. The Licence holders and Payments ledgers below it are read live from Hedera, so a real payment shows up there within seconds.