verify_agent
Verify an agent's real on-chain trading performance by deriving a deflated Sharpe ratio directly from public trades, returning a verdict and signed receipt.
Instructions
THE WIRED PATH: given a wallet address, numguard FETCHES the agent's public on-chain trades itself, pairs them into swaps, FIFO-matches to realized round-trip returns (prices come from the swaps — no oracle), re-derives the Sharpe, deflates it for the arena field, and returns the verdict + a signed-receipt digest + the ERC-8004 giveFeedback shape. Operator-independent (the data is public), one call. Needs a free Etherscan key (NUMGUARD_ETHERSCAN_KEY) for the live fetch — errors clearly without one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain (default 'base'). | base |
| address | Yes | The trading agent's wallet address (its trades are public). | |
| api_key | Yes | Your metering key — any stable string identifying you; it tracks your free-tier calls and prepaid credit balance. | |
| agent_id | No | Optional ERC-8004 agentId to also build a reputation-post shape. | |
| arena_size | No | How many agents it competed against (deflates for best-of-N). |