# Preima > A payment rail for AI agents on Robinhood Chain (chain id 4663). An agent pays an HTTP seller per call by revealing the next value of a hash chain instead of signing. Payments settle in bulk, in USDG. The agent's wallet is owned by a hash-based key, so there is no elliptic-curve key on the paying side. Status: deployed on Robinhood Chain; the addresses are in https://preima.xyz/deployment.json and on the home page. Reviewed independently in eight rounds. Not audited. $PREIMA has not launched. There is no token address. Claim and its limit: no elliptic-curve key on the paying side can be forged. This is not a claim that Robinhood Chain or USDG is safe from a signature break: their operator and issuer keys are ordinary keys. ## Pages - [Home](https://preima.xyz/): what it is, a live hash chain run in the browser, an interactive demo, an address exposure check. - [Docs](https://preima.xyz/docs): seller and agent quick starts, MCP, wire format, refusal reasons, limits. - [Agent wallet](https://preima.xyz/docs/wallet): the hash-key wallet, signed digest, gas, limits. - [Token layer](https://preima.xyz/docs/token): the stamp, the lock, the Cube and the Board, with every owner power and notice. - [Board](https://preima.xyz/board): a ranking of agents and sellers by payments settled, with a local simulation. - [Security](https://preima.xyz/security): threat model, who can move money, known limits, review status. - [Deployment status](https://preima.xyz/deployment.json): machine readable. ## Facts - How a payment works: payment k is the value w[k] of a hash chain, where w[k-1] = keccak256(abi.encode(tabId, k, w[k])). A seller checks a ticket by hashing it back to the last value it accepted. No signature, no transaction per call. - Settlement: one claim per tab pays the seller for every payment revealed. Measured on a fork of Robinhood Chain against real USDG: settling 1,000 payments took 257,263 gas, about 140 gas per extra payment. - Fee before $PREIMA launches: 0.5 percent of the value settled, in USDG, pinned when a tab opens. After launch it is replaced by a $PREIMA stamp paid by the seller (see below). - If a seller never settles, the rest of a tab returns to the payer at expiry or a day after a close request. - Package: https://preima.xyz/sdk/preima-sdk-0.3.0.tgz (served from this site, not on npm). - Both sides need the package (or another implementation of the scheme `preima-tab`, an addition to x402). ## Paid endpoints Six endpoints at https://api.preima.xyz sell Robinhood Chain data per call, in USDG, with the scheme preima-tab. The catalogue is at https://api.preima.xyz/ and the OpenAPI description at https://api.preima.xyz/openapi.json. A bad input costs nothing. A ticket is taken before the chain is read, so a read that fails after that is paid and says so. - GET https://api.preima.xyz/v1/ping : 0.001 USDG. Server time, a block number read at most 10 seconds ago and where this ticket left your tab. - GET https://api.preima.xyz/v1/gas : 0.001 USDG. Gas price, base fee and block read at most 10 seconds ago, and the execution gas cost in ETH of a transfer, a tab open and a 1,000 payment claim. - GET https://api.preima.xyz/v1/exposure/{address} : 0.002 USDG. Key exposure report for an account: transaction count, code size, EIP-7702 delegation, ETH and USDG balance, and a plain verdict. - GET https://api.preima.xyz/v1/token/{address} : 0.002 USDG. ERC-20 facts in one read: name, symbol, decimals, total supply, code size and owner, each null if the token does not answer. - GET https://api.preima.xyz/v1/balances/{address}?tokens=a,b,c : 0.002 USDG. ETH balance plus up to 20 token balances with decimals and symbol, in one read (USDG if no tokens are named). - POST https://api.preima.xyz/v1/simulate : 0.005 USDG. Runs a call at the latest block without sending it: return data or revert data with the decoded reason, and a gas estimate. - To pay: createAgent from the package, with contracts set to the tabs address in https://preima.xyz/deployment.json, then agent.fetch('https://api.preima.xyz/v1/ping'). ## $PREIMA and the game - Before $PREIMA launches, settlement costs 0.5 percent of the value settled, in USDG, pinned when a tab opens, and those fees go to the Cube. - After it launches, a seller cannot settle a tab without $PREIMA. Either each settlement burns $PREIMA, paid by the key that settles (for a seller, its settling key; nobody can spend anyone else's coin; the amount comes from a rate the owner sets by hand, aimed at about 0.5 percent of the value settled; by default 80 percent is burned and 20 percent goes into the Cube, a share fixed per tab when it opens) or the seller has $PREIMA locked and settles free, on tabs that end within 30 days. The USDG fee is gone then. Agents never need the coin. Because the rate is not a price feed, the cost in dollars drifts with the coin's price until the owner changes it. - Locking: unlocking takes 30 days' notice. Nothing the owner can do reaches locked coins or an open tab's money. - The Cube: a pot of USDG and, after launch, $PREIMA, that anyone can take by revealing an input that hashes to a published target, which means breaking the hash function the rail stands on. Nobody, including the team, knows the answer. The pot is empty until fees or donations arrive. The team can withdraw it only after a 30-day notice visible on chain. - The Board: ranks by total payments settled: Link (1), Strand (1,000), Rope (10,000), Cable (100,000), Anchor (1,000,000). Seasons are calendar months. A locked-coin tier multiplies a season score (x1, x1.25, x1.5, x2). Names and colours are claimed by burning $PREIMA. No payouts of any kind. - Status: $PREIMA has not launched and there is no token address. The stamp, the lock, the Cube and the Board are built and tested, not live.