diff --git a/intentkit/skills/cdp/swap.py b/intentkit/skills/cdp/swap.py index b0f9adce..50fc1788 100644 --- a/intentkit/skills/cdp/swap.py +++ b/intentkit/skills/cdp/swap.py @@ -78,8 +78,12 @@ async def _arun( # Map network_id to the format expected by the swap API network_mapping = { + "base": "base", "base-mainnet": "base", + "base-sepolia": "base-sepolia", + "ethereum": "ethereum", "ethereum-mainnet": "ethereum", + "ethereum-sepolia": "ethereum-sepolia" } api_network = network_mapping.get(network_id, network_id)