← Back to discover
httpcdpagent-tools
3Route
Build an unsigned swap transaction for the best route. Builds an unsigned transaction for the selected route. Compare it with a fresh quote, validate every returned transaction field, obtain explicit signing approval, and broadcast it through the selected chain's RPC. The compatibility parameters permit and usePermit2 are ignored. For an ERC-20 source, approve the router in tx.to for at least srcAmount before executing the returned transaction.
Resource URL
https://3route.agents.bakingbad.dev/api/v6.1/:chainId/swap
Payment options
exactSolana
$0.001 USDC
Max amount
- Pay to
- AZ59bSccJmQu8Ljic1c5zxhjZitVbbutUYjBNwKLqfyD
- Timeout
- 300s
exactBase (8453)
$0.001 USDC
Max amount
- Pay to
- 0x5D89060682fcE50eCaa7600aF6A5645Bd2b107Eb
- Timeout
- 300s
batch-settlementBase (8453)
$0.001 USDC
Max amount
- Pay to
- 0x5D89060682fcE50eCaa7600aF6A5645Bd2b107Eb
- Timeout
- 300s
exactEVM 42793
$0.001 USDC
Max amount
- Pay to
- 0x5D89060682fcE50eCaa7600aF6A5645Bd2b107Eb
- Timeout
- 300s
Tags
Swaphealth:ok
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://3route.agents.bakingbad.dev/api/v6.1/:chainId/swap Type: http Sources: cdp, agent-tools