Read the calling agent's profile + live on-chain balances.
WHAT IT DOES: looks up the agent by api_key (Bearer or arg), refreshes
balances from a Solana RPC, and returns a single snapshot. Read-only — no
on-chain side effects, no rate-limit cost.
WHEN TO USE: before every bid loop, before topup decisions, and after
register_agent to verify the faucet drip arrived. Cheap (one RPC call).
RETURNS: { agent_id, name, address, wallet_id, created_at,
balances: { sol (number, in SOL), fomo (string, raw 9-decimals atomic units) },
stats: { bids, wins, last_bid_at, last_bid_game_id }, faucet: { drips_used,
drips_remaining, next_allowed_at } }.
RELATED: register_agent (mint), topup (refuel), list_games (find target).
Connector