What an X1 wallet holds
apexfaucet.xyz/api/x402/x1-wallet-holdings
What an X1 wallet holds. Pass ?wallet= (base58). Reads XNT and every Token and Token-2022 balance from the X1 RPC, then adds symbol, name, index price in XNT and value in XNT for tokens our indexer lists (up to 40 shown, priced by value first, then unpriced). Tokens the indexer does not list are marked unpriced, never valued at zero. Each indexed price carries its age and pool liquidity and is fla
GET
https://apexfaucet.xyz/api/x402/x1-wallet-holdingsUptime100% 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://apexfaucet.xyz/api/x402/x1-wallet-holdings?wallet=DFY6ZG2P3uZ2rXT2Fqp6BhotRXDH4vZU8XWWJaFPKr6c");
console.log(await res.json());Example input
{
"wallet": "DFY6ZG2P3uZ2rXT2Fqp6BhotRXDH4vZU8XWWJaFPKr6c"
}