Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions sdk/quote-providers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Trails integrates with multiple liquidity sources and bridge providers to find t
- **`WETH`**: Wrap/unwrap ETH ↔ WETH on the same chain
- **`SOMNIA_EXCHANGE`**: Uses Somnia Exchange for swaps on Somnia
- **`SOMNIA_SWAP`**: Uses Somnia Swap for swaps on Somnia
- **`EVERLONG`**: Uses Everlong for same-chain swaps on Katana

## Configuration

Expand Down Expand Up @@ -184,6 +185,18 @@ Native swap providers on Somnia (chain id `5031`). Used for on-chain swaps withi
<Swap apiKey="YOUR_API_KEY" swapProvider="SOMNIA_SWAP" />
```

### Everlong

Native swap provider on Katana (chain id `747474`). Used for same-chain swaps between Everlong-listed tokens.

- Same-chain swaps only; not used for bridging
- Exact-input (`tradeType: "EXACT_INPUT"`) only — exact-output is not supported
- Requires explicit `swapProvider="EVERLONG"`; not currently selected by AUTO

```tsx
<Swap apiKey="YOUR_API_KEY" swapProvider="EVERLONG" />
```

## Best Practices

1. **Use `AUTO` by default**: Let Trails optimize the route for you.
Expand Down