Return on-chain calldata that captures MEV behind a partner aggregator swap. nexroute simulates the post-swap state, identifies arbitrage opportunities, and produces calldata that extracts the profit atomically when composed into the user’s transaction.
Used by Embedded mode. The same endpoint serves both shapes: the wrapper contract consumes the response as backrunData passed into the wrapper’s execute call; the calldata composition shape consumes the response as (target, callData) to embed in the partner’s own transaction.
Status: In active development. Endpoint URL and exact field names are subject to change before general availability.
Authentication: uses the same network-layer IP allowlist model as the rest of Capture. Source IPs are coordinated during onboarding; there are no API keys.
Staleness: responses are simulated against current pool state. Submit promptly after receiving a response; responses are not reusable across distinct user transactions.
Documentation Index
Fetch the complete documentation index at: https://docs.nexroute.io/llms.txt
Use this file to discover all available pages before exploring further.
Sender of the user's swap transaction. Used to simulate from the correct address since aggregators typically pull input via transferFrom(msg.sender, ...).
^0x[0-9a-fA-F]{40}$Target contract of the user's swap (typically an aggregator router or diamond).
^0x[0-9a-fA-F]{40}$Calldata of the user's swap transaction.
^0x[0-9a-fA-F]+$Backrun calldata for the swap, or null fields when no arbitrage opportunity is found.
Contract that must be called atomically after the swap. Null when no arbitrage opportunity is found.
^0x[0-9a-fA-F]{40}$Calldata to send to target. Equivalent to the backrunData parameter on the wrapper contract. Null when no arbitrage opportunity is found.
^0x[0-9a-fA-F]*$