> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base.org/llms.txt
> Use this file to discover all available pages before exploring further.

# o1.exchange

> Token swaps on o1.exchange through HTTP order building, unsigned transaction decoding, and Base MCP send_calls.

o1.exchange is a trading API for token swaps on Base and BSC with optional Permit2 gasless approvals. The plugin builds unsigned transaction data over HTTP and submits standard swaps through Base MCP `send_calls`.

**Chains:** Base and BSC.

**Operations:** buy orders, sell orders, pool-targeted swaps, tight-slippage swaps, standard `send_calls` execution, and Permit2 private-relay completion.

<Tip>
  o1.exchange uses a pre-configured shared API token. Standard swaps submitted via `send_calls` use the public mempool; only the Permit2 `/order/complete` path uses the private relay.
</Tip>

## Try it

```text Buy theme={null}
Buy 100 USDC worth of a token on Base
```

```text Sell theme={null}
Sell tokens on Base
```

```text Tight slippage theme={null}
Buy a token with tight slippage
```

## Pattern

For standard swaps, the assistant posts to `/order`, RLP-decodes each `transactions[].unsigned` value, strips everything except `to`, `data`, and `value`, then passes the ordered calls to Base MCP `send_calls`. `networkId` `8453` maps to `base`; `56` maps to `bsc`.

Permit2 swaps use the plugin's `/order/complete` flow instead of `send_calls` because the server re-encodes signatures and broadcasts through the private relay.

## Reference

<Card title="Full plugin spec on GitHub" icon="github" href="https://github.com/base/skills/blob/master/skills/base-mcp/plugins/o1-exchange.md">
  Order parameters, RLP decoding, Permit2 flow, MEV notes, and chain mapping.
</Card>
