verify_vault
Reconstructs a vault's realized APY from on-chain Deposit/Withdraw events, returning a signed receipt only when the history is reliable; otherwise refuses to verify.
Instructions
Fetch a vault's price-per-share history from its own Deposit/Withdraw events and RE-DERIVE its realized APY — no self-report. REFUSES to sign (survives=None, reconstruction='unreliable') if a single-step price jump looks like a donation/flash-loan attack, if the history is too short, or if the APY is outside a sane band (decimals/oracle artifact). Keyless on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain (default 'base'). | base |
| vault | Yes | The ERC-4626 vault contract address. | |
| api_key | Yes | Your metering key — any stable string identifying you; it tracks your free-tier calls and prepaid credit balance. |