Use when
automaton-tx-explainer.vercel.app/v1/portfolio
Use when: what tokens does this wallet hold on Base, Ethereum and BNB? Wallet snapshot across Base, Ethereum and BNB Smart Chain: native balance plus balances of 8 major tokens per chain (USDC, USDT, WETH, DAI, WBTC/cbBTC...). No USD pricing.
GET
https://automaton-tx-explainer.vercel.app/v1/portfolioUptime100% 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://automaton-tx-explainer.vercel.app/v1/portfolio?address=0x28C6c06298d514Db089934071355E5743bf21d60");
console.log(await res.json());Example input
{
"address": "0x28C6c06298d514Db089934071355E5743bf21d60"
}