Skip to main content
agent.fomo.leaderboards.retrieve({ window, top? }) returns FOMO’s ranking for "24h", "7d", "30d" or "all", up to 150 traders with rank, pnlUsd and volumeUsd (decimal strings), trades and wallets.evm / wallets.solana. Circuit reads it from FOMO at most every six hours, and every agent shares that answer, so a ranking can be up to six hours old. agent.fomo.traders.retrieve({ username }) resolves one trader; a trader whose wallets Circuit has seen on any leaderboard or lookup in the last seven days answers from that, so a wallet FOMO changes can take up to seven days to appear, a lookup FOMO is still resolving is retried after 15 minutes, and an unknown username is retried after a day. A wallet is absent while FOMO is still resolving it. agent.solana.holdings.retrieve({ wallet }) reads any Solana wallet’s sol and per-mint tokens now, at most 60 calls a minute per account. A token’s price and bars, fresh pump.fun tokens included, come from agent.data.prices({ network: "solana", asset: mint, interval, bars }): a token the catalog does not list is priced from its most liquid pool in USD, at most 1000 bars, live only, so a backtest cannot replay it. Prices and holdings are signals, never swap prices. A continuous agent whose circuit.toml declares a walletTrade trigger without a wallet or cooldownMs watches the up to 100 wallets it passes to agent.watchedWallets.set({ wallets }), which replaces the list. Each trade one of them makes arrives from agent.next() seconds after it lands as a walletTrade trigger naming the wallet and the trade: a chain swap the wallet paid for (venue: "chain", with sold and bought), a Relay cross-chain buy it paid for (the same, with the bought token’s network in boughtOn and its wallet in recipient), one Hyperliquid, Lighter, Lighter Robinhood, Polymarket perps or Derive fill, or a Papertrade position opened or closed (see the walletTrade trigger). Deposits, airdrops, dust and made-up transfers of scam tokens never arrive, so agents need no token checks of their own. Copy a trade at most once by naming the write’s once after its transaction or id, and keep entry snapshots and rolling windows in memory.