Abstraxn Agent Kit supports Uniswap swaps on EVM chains using your developer Uniswap API key (BYOK). Agents call the uniswap_swap_quote MCP tool; your backend signs approval and swap transactions with the agent wallet accessKey.

Supported chains

ethereum, base, polygon, arbitrum-one, bsc

Dashboard setup

  1. Open Agentic Stack → Integrations for your application.
  2. Enable Uniswap and paste your API key from developers.uniswap.org.
  3. Save — the key is encrypted server-side and included in agent validation for MCP calls.
The Uniswap key is stored per application, not per end user. All agents under that app share the integration when enabled.

MCP tool: uniswap_swap_quote

ParameterRequiredDescription
chainYesEVM network slug
input_tokenYesSymbol (ETH, USDC) or 0x address
output_tokenYesSymbol or address
amountYesHuman-readable sell amount
slippage_bpsNoDefault 50 (0.5%)
The tool returns an unsigned approval transaction (if needed) and an unsigned swap transaction for the agent EVM wallet.

Uniswap specialist chat

In the sample web app, open chat with ?serviceAgent=uniswap (or pick the Uniswap category). The backend:
  • Filters tools to Uniswap-relevant MCP calls
  • Injects Uniswap-specific system prompts
  • Routes swap requests to uniswap_swap_quote (not evm_swap_quote)

Execution modes

TRANSFER_REQUIRE_CONFIRMATIONBehavior
true (default)User sees a swap confirmation card in chat — Confirm / Cancel before signing
falseBackend auto-signs approval (if needed) and swap
See Swap confirmation for the confirmation UI and API.

Transaction history

Confirmed swaps are recorded as chat_uniswap_swap (and approvals as chat_uniswap_approval) in agent transaction history.

Third-party integrations

BYOK overview, architecture, and deployment.

Swap confirmation

Confirm / cancel UX and REST endpoints.

MCP tools reference

Full tool catalog including uniswap_swap_quote.

Interaction policies

Off-chain guardrails before tool execution.

Dashboard setup

Agentic Stack navigation and credentials.