Use when an agent tracks tokenized US Treasury / money market funds
1gateway.dev/v1/onchain/rwa/treasuries
Use when an agent tracks tokenized US Treasury / money market funds. Input: optional token (BUIDL, USDY, OUSG, USTB, USYC, BENJI), chain (all, ethereum, base). Output: JSON per token totalSupply, NAV per share from Chainlink or the issuer's onchain oracle ($1 for constant-NAV funds, null if none), AUM, mint/burn flows 24 h / 7 d in units and USD, totals. Ethereum + Base issuance only. Cached 10 mi
GET
https://1gateway.dev/v1/onchain/rwa/treasuriesUptime100% 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://1gateway.dev/v1/onchain/rwa/treasuries?chain=all&token=BUIDL");
console.log(await res.json());Example input
{
"chain": "all",
"token": "BUIDL"
}