Audit Execution Shortfall
audit_execution_shortfallAudits an executed trade via public RPC and decomposes implementation shortfall into delay, impact, MEV leakage, and fee drag while updating persistent EWMA telemetry.
Instructions
Audits an executed transaction via public RPC, decomposes implementation shortfall (delay, impact, MEV leakage, fee drag), and updates persistent EWMA telemetry.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"tx_hash": "<tx_hash>",
"pool_address": "<pool_address>",
"quoted_price": "<quoted_price>",
"expected_net_price": "<expected_net_price>",
"realized_price": "<realized_price>"
},
"name": "audit_execution_shortfall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dex | No | DEX or aggregator name | aggregator |
| chain | Yes | Blockchain network where tx was executed | |
| tx_hash | Yes | Executed transaction hash or Solana signature | |
| fee_drag_bps | No | Pool/aggregator fee in bps | |
| pool_address | Yes | Primary liquidity pool address or route ID | |
| quoted_price | Yes | Benchmark quoted output/input price | |
| delay_cost_bps | No | Block delay price drift in bps | |
| realized_price | Yes | Actual realized fill price (out / in) | |
| expected_net_price | Yes | Expected net price after fees/impact | |
| modeled_impact_bps | No | Modeled price impact in bps |