Pre-trade checks for an agent buying a tokenized stock (RWA)
proofofstock.com/api/pass
Pre-trade checks for an agent buying a tokenized stock (RWA). simulate_buy: a quote for a USD amount and a dry run of the swap, nothing signed. Issuer check on Base and Robinhood Chain: the issuer's own token (Coinbase, Robinhood) or a look-alike, and how far its price is from the issuer's. On Base, the issuer's transfer rules: open, restricted or paused. Free at 60 units a minute; this pass gives
GET
https://proofofstock.com/api/passUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://proofofstock.com/api/pass");
console.log(await res.json());