# Invictus Docs
> Guides and the public API for Invictus, the multichain terminal for liquidity providers: find pools, open and manage concentrated liquidity positions on seven chains.
# Welcome to Invictus
Source: https://docs.lpinvictus.com/
Invictus is a terminal for **liquidity providers**: people who deposit tokens into a trading pool and earn a share of
the fees that traders pay. It brings the whole job into one screen. You find a pool, open a position, watch it, collect
what it earns and close it, on seven chains and seven protocols, without opening a separate app for each one.
## New here? Start with these
**[Quickstart](/getting-started)**
Sign in, fund your wallet and open your first position, step by step.
**[How liquidity pools work](/concepts/liquidity-pools)**
Five minutes on what a pool is, where the fees come from and what can go wrong.
**[Fund your wallet](/getting-started/fund-your-wallet)**
Move tokens in from an exchange or another wallet, on the right network.
**[Is my money safe?](/resources/security)**
Who holds your keys, what Invictus checks before you sign, and what it never does.
## What you can do in Invictus
| You want to | Go to | Read |
| --- | --- | --- |
| Find a pool worth providing liquidity to | **Discover** | [Find pools](/terminal/discover) |
| Study one pool: price, depth, fees, token safety | The **pool workstation** | [Read a pool](/terminal/pool-workstation) |
| Put tokens into a pool | **Create position** on the pool | [Open a position](/positions/open-a-position) |
| Swap one token for another, now or at a price | **Swap** and **Limit** on the pool | [Swap](/terminal/swap), [Limit orders](/terminal/limit-orders) |
| Collect fees, move a range or take liquidity out | **Positions** | [Manage positions](/positions/manage-positions) |
| See what you hold and what you earned | **Portfolio** | [Portfolio](/terminal/portfolio) |
| Be told when a position needs you | **Alerts** | [Alerts and notifications](/terminal/alerts) |
## How Invictus works, in one minute
1. **You sign in** with Google, Telegram or a wallet you already have.
2. **Invictus makes you a wallet.** It belongs to you: Invictus never sees or keeps its key. You can export the key
whenever you want.
3. **You fund that wallet** with the tokens you want to provide, plus a little of the chain's gas token.
4. **You pick a pool and press Zap.** Invictus works out the swaps and the deposit, checks every transaction and shows
you the result before anything is sent.
5. **You confirm**, and the position appears in **Positions**, where you can follow it until you close it.
:::tip[Never used DeFi before?]
That is fine. Each guide explains the words it uses the first time they appear, and the [Glossary](/resources/glossary)
has the rest. Start with [How liquidity pools work](/concepts/liquidity-pools), then follow the
[Quickstart](/getting-started).
:::
## Supported chains and protocols
See [Chains and protocols](/networks) for which protocol runs on which chain, and the gas token each chain uses.
## Using these docs with an AI assistant
Every page has a **Copy as Markdown** button and an **Open in chat** menu in the right rail. Agents can read the whole
site from [`/llms.txt`](/llms.txt), search it over MCP, or call the public API. See [Build with AI](/build-with-ai).
---
# INVICTUS API
Source: https://docs.lpinvictus.com/api
Generated from the zod schemas and the operation registry of @invictus/contracts. Token amounts are base units with the token decimals; prices, USD and percents are decimal text; a value carries its state (exact, stale, provisional, disputed, unavailable). Errors are RFC 9457 problem details.
Version 0.1.0
Base URL: `https://api.lpinvictus.com`
## Market
Pools, tokens, quotes and chain status: the same answer for everyone, read from stored data.
- [`GET /v1/pools`](/api/market/list-pools) — The Discover list.
- [`GET /v1/pools/facets`](/api/market/get-pool-facets) — Stored counts per filter choice.
- [`GET /v1/search`](/api/market/search-pools) — Pools by pair symbols or address.
- [`GET /v1/tokens`](/api/market/list-tokens) — The token registry of one chain.
- [`GET /v1/tokens/{chain}/{address}`](/api/market/get-token) — One token by its address.
- [`GET /v1/network`](/api/market/get-network-status) — Chain prices, gas and provider health.
- [`GET /v1/announcements`](/api/market/list-announcements) — Current updates and banners.
- [`GET /v1/rates`](/api/market/get-exchange-rates) — What one US dollar is worth.
- [`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}`](/api/market/get-pool) — One pool.
- [`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/candles`](/api/market/list-pool-candles) — A page of candles.
- [`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/depth`](/api/market/get-pool-depth) — Liquidity by price bin.
- [`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/analytics`](/api/market/get-pool-analytics) — Daily fees and volume.
- [`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/stats`](/api/market/get-pool-stats) — Trading by window.
- [`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/range-estimate`](/api/market/estimate-pool-range) — A range over past data.
- [`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/zap-quote`](/api/market/quote-zap) — What a deposit would do now.
- [`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/swap-quote`](/api/market/quote-swap) — What a swap would do now.
## Live
The live stream of pool and account changes, as a WebSocket.
- [`GET /v1/live`](/api/live/stream-live-events) — WebSocket of the subscribed topics.
---
# WebSocket of the subscribed topics.
Source: https://docs.lpinvictus.com/api/live/stream-live-events
Upgrades to a WebSocket of JSON text frames. The client subscribes, unsubscribes or asks a resync; each subscribed topic starts with a snapshot and continues with deltas in revision order. A gap in revisions means the client asks for a resync.
`GET /v1/live`
**Responses**
- `101` — Switching Protocols: the connection becomes a WebSocket of JSON text frames. The client sends \`x-client-message\`, the server sends \`x-server-message\`.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
---
# A range over past data.
Source: https://docs.lpinvictus.com/api/market/estimate-pool-range
Estimates how a price range would have done over a past window. Always an estimate, never a forecast.
`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/range-estimate`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
- `503` — Not available yet: the figures it needs are not stored; the problem says why.
Response example, 200:
```json
{
"low": "1234.56",
"high": "1234.56",
"lookbackDays": 1,
"label": "estimate from past data",
"inRangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feeAprPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"versusHoldPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"asOf": 1793145600
}
```
---
# What one US dollar is worth.
Source: https://docs.lpinvictus.com/api/market/get-exchange-rates
Answers what one US dollar is worth in each display currency, as the API last read it from its source; a rate it could not read is unavailable.
`GET /v1/rates`
**Responses**
- `200` — Success.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"base": "USD",
"rates": [
{
"currency": "string",
"perUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
}
],
"source": {
"name": "string",
"url": "../dictionary",
"publishedOn": "2019-08-24"
}
}
```
---
# Chain prices, gas and provider health.
Source: https://docs.lpinvictus.com/api/market/get-network-status
Answers, per chain, the native coin's price, what an ordinary swap costs in gas now, and each RPC provider's latency.
`GET /v1/network`
**Responses**
- `200` — Success.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"chains": [
{
"chain": "base",
"native": {
"symbol": "string",
"priceUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
"gasUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"rpcs": [
{
"id": "string",
"name": "string",
"latencyMs": {
"status": "exact",
"value": 0,
"observedAt": 1793145600
}
}
]
}
],
"asOf": 1793145600
}
```
---
# One pool.
Source: https://docs.lpinvictus.com/api/market/get-pool
Answers one pool by the five parts of its path: its tokens, price, liquidity, checks and which actions can be prepared on it now. An invalid identity is 404, never a guess.
`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"pool": {
"identity": {
"chain": "base",
"protocol": "string",
"variant": "string",
"deployment": "string",
"poolKey": {
"kind": "address",
"value": "string"
}
},
"base": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"quote": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"feePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"spacing": {
"kind": "tick-spacing",
"value": 1
},
"launchpad": {
"id": "string",
"name": "string"
},
"hook": {
"address": "string"
},
"tags": [
"new"
],
"createdAt": {
"status": "exact",
"value": 1793145600,
"observedAt": 1793145600
},
"tokenCreatedAt": {
"status": "exact",
"value": 1793145600,
"observedAt": 1793145600
},
"priceUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"priceChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"marketCapUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"marketCapChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"fdvUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"circulatingPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"tvlUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"tvlChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"volumeUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"volumeChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feesUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feesChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feeAprPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feeAprChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"trend": {
"status": "exact",
"value": [
"1234.56",
"1234.56"
],
"observedAt": 1793145600
},
"sources": {
"supply": {
"method": "erc20-total-supply",
"exclusions": "string"
},
"figures": {
"property1": {
"source": "string",
"observedAt": 1793145600
},
"property2": {
"source": "string",
"observedAt": 1793145600
}
}
}
},
"poolPrice": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"quotePriceUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"reserves": {
"base": {
"status": "exact",
"value": "1500000",
"observedAt": 1793145600
},
"quote": {
"status": "exact",
"value": "1500000",
"observedAt": 1793145600
}
},
"supply": {
"total": {
"status": "exact",
"value": "1500000",
"observedAt": 1793145600
},
"circulating": {
"status": "exact",
"value": "1500000",
"observedAt": 1793145600
}
},
"liquidity": "active",
"orientation": {
"reason": "string"
},
"trust": {
"base": "trusted",
"quote": "trusted"
},
"security": {
"status": "exact",
"value": {
"checks": [
{
"check": "honeypot",
"risk": "none",
"source": "goplus"
}
],
"buyTaxPercent": {
"source": "goplus",
"value": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
"sellTaxPercent": {
"source": "goplus",
"value": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
"holders": {
"source": "goplus",
"value": 0
},
"topHoldersPercent": {
"source": "goplus",
"value": "1234.56"
},
"lockedLiquidityPercent": {
"source": "goplus",
"value": "1234.56"
}
},
"observedAt": 1793145600
},
"intervals": [
"1s"
],
"actions": {
"property1": {
"enabled": true
},
"property2": {
"enabled": true
}
},
"siblings": [
{
"identity": {
"chain": "base",
"protocol": "string",
"variant": "string",
"deployment": "string",
"poolKey": {
"kind": "address",
"value": "string"
}
},
"base": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"quote": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"feePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"spacing": {
"kind": "tick-spacing",
"value": 1
},
"launchpad": {
"id": "string",
"name": "string"
},
"hook": {
"address": "string"
},
"tags": [
"new"
],
"createdAt": {
"status": "exact",
"value": 1793145600,
"observedAt": 1793145600
},
"tokenCreatedAt": {
"status": "exact",
"value": 1793145600,
"observedAt": 1793145600
},
"priceUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"priceChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"marketCapUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"marketCapChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"fdvUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"circulatingPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"tvlUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"tvlChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"volumeUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"volumeChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feesUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feesChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feeAprPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feeAprChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"trend": {
"status": "exact",
"value": [
"1234.56",
"1234.56"
],
"observedAt": 1793145600
},
"sources": {
"supply": {
"method": "erc20-total-supply",
"exclusions": "string"
},
"figures": {
"property1": {
"source": "string",
"observedAt": 1793145600
},
"property2": {
"source": "string",
"observedAt": 1793145600
}
}
}
}
],
"sources": {
"property1": {
"source": "string",
"observedAt": 1793145600
},
"property2": {
"source": "string",
"observedAt": 1793145600
}
},
"asOf": 1793145600
}
```
---
# Daily fees and volume.
Source: https://docs.lpinvictus.com/api/market/get-pool-analytics
Answers the pool's daily fees and volume; a day without a value has measured status unavailable with a reason.
`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/analytics`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"windowDays": 1,
"feeAprPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"volumeToTvl": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feesUsd": [
{
"day": 1793145600,
"value": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
}
],
"volumeUsd": [
{
"day": 1793145600,
"value": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
}
],
"asOf": 1793145600
}
```
---
# Liquidity by price bin.
Source: https://docs.lpinvictus.com/api/market/get-pool-depth
Answers the pool's liquidity in price bins around its current price.
`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/depth`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
- `503` — Not available yet: the figures it needs are not stored; the problem says why.
Response example, 200:
```json
{
"grid": "ticks",
"price": "1234.56",
"bins": [
{
"low": "1234.56",
"high": "1234.56",
"base": "1500000",
"quote": "1500000",
"valueUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
}
],
"active": 0,
"asOf": 1793145600
}
```
---
# Stored counts per filter choice.
Source: https://docs.lpinvictus.com/api/market/get-pool-facets
Counts how many pools each filter choice has on a chain and tab, before any filter. The counts are stored, never counted per request.
`GET /v1/pools/facets`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"protocols": [
{
"id": "uniswap",
"count": 0
}
],
"variants": [
{
"id": "string",
"count": 0
}
],
"launchpads": [
{
"id": "string",
"name": "string",
"count": 0
}
],
"tags": [
{
"id": "new",
"count": 0
}
],
"hooked": 0,
"total": 0,
"asOf": 1793145600
}
```
---
# Trading by window.
Source: https://docs.lpinvictus.com/api/market/get-pool-stats
Answers the pool's trading summed over each window, shortest first. A window longer than the pool's life is unavailable.
`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/stats`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"windows": [
{
"window": "5m",
"priceChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"swaps": {
"status": "exact",
"value": {
"total": 0,
"buys": 0
},
"observedAt": 1793145600
},
"volumeUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"netFlowUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
{
"window": "5m",
"priceChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"swaps": {
"status": "exact",
"value": {
"total": 0,
"buys": 0
},
"observedAt": 1793145600
},
"volumeUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"netFlowUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
{
"window": "5m",
"priceChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"swaps": {
"status": "exact",
"value": {
"total": 0,
"buys": 0
},
"observedAt": 1793145600
},
"volumeUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"netFlowUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
}
],
"volatilityPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"activeTvlUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"traders24h": {
"status": "exact",
"value": {
"low": 0,
"high": 0
},
"observedAt": 1793145600
},
"asOf": 1793145600
}
```
---
# One token by its address.
Source: https://docs.lpinvictus.com/api/market/get-token
Answers one token by its address: whether it is on the verified registry, its security read on the server, its price, and what third parties declared about it (description, links, socials, tags, creators, launchpad), each with its source. 404 when no token is at the address.
`GET /v1/tokens/{chain}/{address}`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"token": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"tier": "native",
"security": {
"status": "exact",
"value": {
"checks": [
{
"check": "honeypot",
"risk": "none",
"source": "goplus"
}
],
"buyTaxPercent": {
"source": "goplus",
"value": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
"sellTaxPercent": {
"source": "goplus",
"value": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
"holders": {
"source": "goplus",
"value": 0
},
"topHoldersPercent": {
"source": "goplus",
"value": "1234.56"
},
"lockedLiquidityPercent": {
"source": "goplus",
"value": "1234.56"
}
},
"observedAt": 1793145600
},
"priceUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"asOf": 1793145600,
"description": {
"source": "string",
"observedAt": 1793145600,
"value": "string"
},
"links": {
"source": "string",
"observedAt": 1793145600,
"value": [
{
"label": "string",
"url": "http://example.com"
}
]
},
"socials": {
"source": "string",
"observedAt": 1793145600,
"value": [
{
"label": "string",
"url": "http://example.com"
}
]
},
"tags": {
"source": "string",
"observedAt": 1793145600,
"value": [
"string"
]
},
"creators": {
"source": "string",
"observedAt": 1793145600,
"value": [
"string"
]
},
"launchpad": {
"source": "string",
"observedAt": 1793145600,
"value": {
"id": "string",
"name": "string",
"graduation": {
"graduated": true,
"graduatedAt": 1793145600
}
}
}
}
```
---
# Current updates and banners.
Source: https://docs.lpinvictus.com/api/market/list-announcements
Answers the release notes and banners that apply now.
`GET /v1/announcements`
**Responses**
- `200` — Success.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"version": "string",
"updates": [
{
"id": "string",
"title": "string",
"body": "string",
"media": {
"kind": "image",
"url": "../dictionary",
"alt": "string"
},
"link": {
"label": "string",
"url": "../dictionary"
}
}
],
"banners": [
{
"id": "string",
"level": "info",
"message": "string",
"link": {
"label": "string",
"url": "../dictionary"
}
}
],
"asOf": 1793145600
}
```
---
# A page of candles.
Source: https://docs.lpinvictus.com/api/market/list-pool-candles
Answers a page of candles of one pool, oldest first, in the quote token or in US dollars. A bucket without trades or data is a gap, never an invented price.
`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/candles`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"interval": "1s",
"subject": {
"base": "string",
"quote": "string"
},
"unit": "quote",
"usdCoverage": "complete",
"items": [
{
"time": 1793145600,
"kind": "traded",
"coverage": "complete",
"basis": "swap",
"open": "1234.56",
"high": "1234.56",
"low": "1234.56",
"close": "1234.56",
"volumeUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
}
],
"older": 1793145600,
"asOf": 1793145600
}
```
---
# The Discover list.
Source: https://docs.lpinvictus.com/api/market/list-pools
Lists pools with their stored figures over a timeframe, sorted and filtered, a page at a time. Figures the API cannot vouch for are `unavailable`, never zero.
`GET /v1/pools`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"items": [
{
"identity": {
"chain": "base",
"protocol": "string",
"variant": "string",
"deployment": "string",
"poolKey": {
"kind": "address",
"value": "string"
}
},
"base": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"quote": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"feePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"spacing": {
"kind": "tick-spacing",
"value": 1
},
"launchpad": {
"id": "string",
"name": "string"
},
"hook": {
"address": "string"
},
"tags": [
"new"
],
"createdAt": {
"status": "exact",
"value": 1793145600,
"observedAt": 1793145600
},
"tokenCreatedAt": {
"status": "exact",
"value": 1793145600,
"observedAt": 1793145600
},
"priceUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"priceChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"marketCapUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"marketCapChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"fdvUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"circulatingPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"tvlUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"tvlChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"volumeUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"volumeChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feesUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feesChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feeAprPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feeAprChangePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"trend": {
"status": "exact",
"value": [
"1234.56",
"1234.56"
],
"observedAt": 1793145600
},
"sources": {
"supply": {
"method": "erc20-total-supply",
"exclusions": "string"
},
"figures": {
"property1": {
"source": "string",
"observedAt": 1793145600
},
"property2": {
"source": "string",
"observedAt": 1793145600
}
}
}
}
],
"nextCursor": "string",
"truncated": true,
"total": 0,
"asOf": 1793145600
}
```
---
# The token registry of one chain.
Source: https://docs.lpinvictus.com/api/market/list-tokens
Lists the trusted token registry of one chain, with why each token is listed.
`GET /v1/tokens`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"chain": "base",
"tokens": [
{
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0,
"tier": "native",
"priceUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
}
],
"asOf": 1793145600
}
```
---
# What a swap would do now.
Source: https://docs.lpinvictus.com/api/market/quote-swap
Quotes what a swap would do now across the asked sources, the best taken. A quote is never signed; confirming an operation quotes again.
`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/swap-quote`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
- `503` — Not available yet: the figures it needs are not stored; the problem says why.
Response example, 200:
```json
{
"pays": {
"token": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"units": "1500000",
"valueUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
"receives": {
"token": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"units": "1500000",
"valueUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
"minimum": "1500000",
"price": "1234.56",
"priceImpactPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"routes": 1,
"savedUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"route": {
"source": "pool",
"hops": [
{
"protocol": "string",
"variant": "string",
"from": "string",
"to": "string",
"sharePercent": "1234.56"
}
],
"compared": [
{
"source": "pool",
"receives": "1500000",
"feePercent": "1234.56"
}
]
},
"slippagePercent": "1234.56",
"slippageAuto": true,
"category": "pegged",
"unverified": [
"pays"
],
"fees": {
"networkUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"swapFeePercent": "1234.56",
"swapFeeUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"swapFeeSymbol": "string"
},
"warnings": [
"string"
],
"expiresAt": 1793145600,
"asOf": 1793145600
}
```
---
# What a deposit would do now.
Source: https://docs.lpinvictus.com/api/market/quote-zap
Quotes what a deposit into the pool would do now: the swap it needs, the least of each token it may receive and what it costs. A quote is never signed; confirming an operation quotes again.
`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/zap-quote`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"pays": [
{
"token": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"units": "1500000",
"valueUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
}
],
"deposit": {
"base": {
"token": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"units": "1500000",
"valueUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
"quote": {
"token": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"units": "1500000",
"valueUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
"shape": "string"
},
"wrap": true,
"swap": {
"from": {
"token": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"units": "1500000",
"valueUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
},
"to": [
{
"token": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"units": "1500000",
"valueUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
}
}
],
"priceImpactPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"routes": 1,
"savedUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"route": {
"source": "pool",
"hops": [
{
"protocol": "string",
"variant": "string",
"from": "string",
"to": "string",
"sharePercent": "1234.56"
}
],
"compared": [
{
"source": "pool",
"receives": "1500000",
"feePercent": "1234.56"
}
]
}
},
"minimum": {
"base": "1500000",
"quote": "1500000"
},
"slippagePercent": "1234.56",
"slippageAuto": true,
"category": "pegged",
"bins": 1,
"fees": {
"networkUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"transactions": 1,
"platformFeePercent": "1234.56",
"platformFeeUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"platformDiscountUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"platformOpenUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"discountEndsAt": 1793145600,
"takenBy": "swap"
},
"warnings": [
"string"
],
"expiresAt": 1793145600,
"asOf": 1793145600
}
```
---
# Pools by pair symbols or address.
Source: https://docs.lpinvictus.com/api/market/search-pools
Finds pools by pair symbols or a token or pool address. An empty query answers the deepest pools.
`GET /v1/search`
**Responses**
- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.
Response example, 200:
```json
{
"pools": [
{
"identity": {
"chain": "base",
"protocol": "string",
"variant": "string",
"deployment": "string",
"poolKey": {
"kind": "address",
"value": "string"
}
},
"base": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"quote": {
"chain": "base",
"address": "string",
"symbol": "string",
"name": "string",
"logo": "string",
"decimals": 0
},
"feePercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"spacing": {
"kind": "tick-spacing",
"value": 1
},
"launchpad": {
"id": "string",
"name": "string"
},
"hook": {
"address": "string"
},
"tags": [
"new"
],
"priceUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"createdAt": {
"status": "exact",
"value": 1793145600,
"observedAt": 1793145600
},
"tokenCreatedAt": {
"status": "exact",
"value": 1793145600,
"observedAt": 1793145600
},
"marketCapUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"tvlUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"volumeUsd": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"feeAprPercent": {
"status": "exact",
"value": "1234.56",
"observedAt": 1793145600
},
"sources": {
"supply": {
"method": "erc20-total-supply",
"exclusions": "string"
},
"figures": {
"property1": {
"source": "string",
"observedAt": 1793145600
},
"property2": {
"source": "string",
"observedAt": 1793145600
}
}
},
"matched": "pair"
}
],
"asOf": 1793145600
}
```
---
# Build with AI
Source: https://docs.lpinvictus.com/build-with-ai
These docs and the Invictus API are made to be read by AI assistants as well as people. Whether you want ChatGPT or
Claude to explain a page, a coding agent to build on the API, or your own agent to look up pools, start here.
:::info[What an agent can and cannot do]
The public API is **read only** and needs **no key**: pools, tokens, prices, candles, depth and quotes. It never moves
funds. Opening, changing or closing a position always happens in the terminal, where the person reviews and signs
every transaction.
:::
## Give an assistant the docs
| You want to | Use |
| --- | --- |
| Ask a chatbot about one page | **Open in chat** in the page's right rail sends it to Claude, ChatGPT or Cursor. **Copy page** copies it as Markdown. |
| Read any page as Markdown | Add `.md` to its address, for example [`/concepts/dlmm.md`](/concepts/dlmm.md), or send `Accept: text/markdown`. |
| Give an agent the whole site | [`/llms.txt`](/llms.txt) lists every page with a summary; [`/llms-full.txt`](/llms-full.txt) holds all of them in one file. |
| Let an agent search the docs | Connect the MCP server below. |
| Teach an agent how Invictus works | Install the agent skill below. |
| Build on the API | Download [`/openapi.json`](/api/openapi.json), read the [API quickstart](/build-with-ai/api-quickstart) and the [recipes](/build-with-ai/recipes). |
## Connect the MCP docs server
The docs run a [Model Context Protocol](https://modelcontextprotocol.io) server at `https://docs.lpinvictus.com/mcp`.
An MCP client, such as Claude Desktop, Claude Code, Cursor or VS Code, can then search and read these pages while it
answers you.
**Claude Code**
```bash
claude mcp add --transport http invictus-docs https://docs.lpinvictus.com/mcp
```
**Cursor and VS Code**
Add this to the MCP settings file of your editor (`.cursor/mcp.json`, or `.vscode/mcp.json` with `servers` in place
of `mcpServers`):
```json
{
"mcpServers": {
"invictus-docs": { "url": "https://docs.lpinvictus.com/mcp" }
}
}
```
**Claude Desktop**
Open **Settings**, then **Connectors**, choose **Add custom connector**, and enter
`https://docs.lpinvictus.com/mcp`.
The server is read only and needs no sign-in.
## Install the agent skill
A **skill** is a short instruction file that teaches an agent a task. The Invictus skill explains the terminal's
concepts, the safety rules and how to call the public API. Agents that support skills can load it from
[`/.well-known/agent-skills/index.json`](/.well-known/agent-skills/index.json), or fetch the generated site skill at [`/skill.md`](/skill.md).
## Writing prompts that work
- **Name the chain and the pool.** "The WETH/USDC Uniswap v3 pool on Base" is unambiguous; "the ETH pool" is not.
- **Ask for the source.** Ask the assistant to quote the page it used. The MCP server's instructions already ask it to
say when the docs do not answer the question.
- **Never paste a key.** No Invictus task needs your private key or recovery phrase. An assistant that asks for one is
wrong.
---
# API quickstart
Source: https://docs.lpinvictus.com/build-with-ai/api-quickstart
The public Invictus API serves the same market data the terminal shows: pools, tokens, prices, candles, liquidity
depth, analytics and quotes. It is read only, needs no key and returns JSON.
| | |
| --- | --- |
| **Base URL** | `https://api.lpinvictus.com` (every path starts with `/v1`) |
| **Authentication** | None for the public routes |
| **Format** | JSON; errors as `application/problem+json` |
| **Specification** | OpenAPI 3.1 at [`/api/openapi.json`](/api/openapi.json) |
| **Reference** | One page per route under [API](/api), with a **Try it** panel |
:::note[Calling from a web page]
The API answers browsers only from the Invictus app's own origin. Call it from a server, a script or an agent, not from
JavaScript in your own website.
:::
## Your first call
List the five deepest pools on Base, ranked by TVL:
**curl**
```bash
curl "https://api.lpinvictus.com/v1/pools?chain=base&sort=tvl&limit=5"
```
**TypeScript**
```ts
const url = new URL("https://api.lpinvictus.com/v1/pools");
url.search = new URLSearchParams({ chain: "base", sort: "tvl", limit: "5" }).toString();
const response = await fetch(url);
if (!response.ok) throw new Error((await response.json()).detail);
const page = await response.json();
for (const pool of page.items) {
const tvl = pool.tvlUsd.status === "unavailable" ? "not available" : pool.tvlUsd.value;
console.log(`${pool.base.symbol}/${pool.quote.symbol}`, tvl);
}
```
**Python**
```python
import requests
response = requests.get(
"https://api.lpinvictus.com/v1/pools",
params={"chain": "base", "sort": "tvl", "limit": 5},
timeout=10,
)
response.raise_for_status()
for pool in response.json()["items"]:
tvl = pool["tvlUsd"].get("value", "not available")
print(f'{pool["base"]["symbol"]}/{pool["quote"]["symbol"]}', tvl)
```
## Conventions
### Chains are slugs
A chain is one of `solana`, `ethereum`, `base`, `robinhood`, `bsc`, `arc` or `hyperevm`.
### A pool has a five-part path
Every pool is identified by five parts, which form its path:
```text
/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}
```
| Part | Example | Meaning |
| --- | --- | --- |
| `chain` | `base` | The chain slug |
| `protocol` | `uniswap` | The protocol |
| `variant` | `v3` | The protocol version or pool type |
| `deployment` | `base` | Which deployment of that version on the chain |
| `poolKey` | `0x4c36…4b18` | The pool's address, id or Solana account |
Each pool in a list or search result carries its `identity` with these five parts (`poolKey` as `{ kind, value }`; use
`value` in the path). Build paths from it rather than by hand. Detail, candles, depth, analytics, stats and quotes all
hang off this path.
### Amounts are integers in base units
A token amount is a string of the integer number of its smallest units, next to the token's `decimals`. To show it,
divide by 10 to the power of `decimals`: `"1500000"` of USDC (6 decimals) is 1.5 USDC. Send amounts the same way. Never
use floating-point numbers for money.
Prices, USD values and percents are decimal strings, such as `"3021.55"`.
### Every value says how sure it is
A figure that can be missing or uncertain comes as an object with a `status`:
| `status` | Meaning | Has `value` |
| --- | --- | --- |
| `exact` | Current, from a trusted read | Yes |
| `stale` | Older than its freshness bound; check `observedAt` | Yes |
| `provisional` | Rests on one source, not yet confirmed; see `source` | Yes |
| `disputed` | Two sources disagree | No; `values` holds both, each with its `source` |
| `unavailable` | No reliable value, with a reason | No |
```json
{ "status": "exact", "value": "1834221.07", "observedAt": 1793145600 }
```
Show `unavailable` as unknown, never as zero. An agent should say "not available" rather than guess.
### Lists are paged with a cursor
List routes return `items` and `nextCursor`. Pass `cursor=` to get the next page; `null` means the last
page. `limit` sets the page size within the bounds in the reference.
### Times are Unix seconds
Timestamps such as `asOf` and `observedAt` are whole seconds since 1970, in UTC.
## Errors
Every error follows [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem details:
```json
{
"type": "about:blank",
"title": "Invalid input",
"status": 400,
"code": "invalid_input",
"errors": [
{ "field": "query.limit", "code": "too_big", "message": "Too big: expected number to be <=100" }
],
"instance": "urn:trace:…"
}
```
- Branch on `status` and the stable `code` (such as `invalid_input`, `not_found` or `rate_limited`), not on `title`
or `detail`, which are for people.
- Quote `instance` when you report a problem; it identifies that one request.
- `400` lists the refused fields in `errors`.
- `404` means the pool or token does not exist under that path.
## Rate limits
Too many requests get `429 Too Many Requests`; a temporary outage of a data source gets `503`. Both carry
`retryAfterSeconds` in the body and a `Retry-After` header. Wait that long, then retry, with backoff if it repeats.
Cache what you can: lists and pool figures change on the order of seconds, not milliseconds.
## Live updates
`GET /v1/live` upgrades to a WebSocket. Send `{"type":"subscribe", "topic":"pool/", ...}` to receive a
snapshot of a pool, then deltas. The message shapes are in the [reference](/api).
## Next
- [Recipes](/build-with-ai/recipes) for common agent tasks.
- The [API reference](/api) for every parameter and field.
---
# Recipes for agents
Source: https://docs.lpinvictus.com/build-with-ai/recipes
Each recipe is a short sequence of public API calls an agent can follow to answer a real question. They assume the
conventions in the [API quickstart](/build-with-ai/api-quickstart). In the examples, `$POOL` stands for a pool's
five-part path, such as `base/uniswap/v3/base/0x4c36388be6f416a29c8d8eee81c771ce6be14b18`.
:::warning[Rules for agents]
- Quote figures with their `status`. Say "not available" for `unavailable`, and mention when a value is `stale`.
- Never present an estimate or APR as a promise.
- Never ask a person for a private key or recovery phrase. To act on a quote, send them to the terminal, where they
review and sign.
:::
## Find a pool by name
**Question:** "What is the best SOL/USDC pool?"
1. Search by pair:
```bash
curl "https://api.lpinvictus.com/v1/search?q=SOL%20USDC&limit=10"
```
2. Each hit in `pools` has its `identity`, tokens, fee and headline figures. Prefer pools with high TVL and volume over
a high APR on a thin pool, and say why you picked one.
3. Fetch the pool itself for the full picture: `GET /v1/pools/$POOL`.
## Shortlist pools with filters
**Question:** "Show me busy pools on Solana with at least 1M USD of TVL, by fee APR."
```bash
curl "https://api.lpinvictus.com/v1/pools?chain=solana&minTvlUsd=1000000&sort=apr&direction=desc&timeframe=1d&limit=20"
```
Use `timeframe` to choose the window for volume, fees and APR (`5m` to `1d`). `GET /v1/pools/facets` returns how many
pools each filter choice holds, which helps an agent offer choices that are not empty.
## Check a token before recommending it
**Question:** "Is this token safe to provide liquidity with?"
1. Look it up: `GET /v1/tokens/{chain}/{address}`.
2. Read the pool's detail (`GET /v1/pools/$POOL`) for its security checks, market cap and age.
3. Report what the checks say, including any that are missing, and the token's age and liquidity. Never call a token
safe; say which risks the checks found or could not check.
## Describe how a pool has been doing
**Question:** "How has this pool done this month?"
- `GET /v1/pools/$POOL/analytics`: daily fees and volume.
- `GET /v1/pools/$POOL/stats`: trading by window.
- `GET /v1/pools/$POOL/candles?interval=1d&limit=30&unit=usd`: daily price candles in US dollars.
## Test a range against history
**Question:** "If I had provided liquidity between 2,800 and 3,400, how would it have done?"
```bash
curl "https://api.lpinvictus.com/v1/pools/$POOL/range-estimate?low=2800&high=3400&lookbackDays=30"
```
The answer gives `inRangePercent` (how much of the time the price stayed in the range), `feeAprPercent` and
`versusHoldPercent` (the result against simply holding), replayed over the window. It is labelled **estimate from past
data**: say so, and do not present it as a forecast. Prices are one base token in the quote token.
To see where liquidity sits now, use `GET /v1/pools/$POOL/depth`.
## Quote a swap
**Question:** "How much USDC would I get for 1 ETH here?"
```bash
curl "https://api.lpinvictus.com/v1/pools/$POOL/swap-quote?sell=base&amount=1000000000000000000"
```
`amount` is in the sold token's base units (1 ETH is `1000000000000000000`). The quote returns what is paid and
received, the `minimum` after slippage, `priceImpactPercent`, `fees`, any `warnings`, and `expiresAt`. A quote is
information only; nothing is sent.
## Quote a deposit
**Question:** "What would depositing 1,000 USDC into this pool, between 2,800 and 3,400, look like?"
```bash
curl "https://api.lpinvictus.com/v1/pools/$POOL/zap-quote?amountQuote=1000000000&range=custom&low=2800&high=3400&balance=on"
```
With `balance=on`, part of the deposit is swapped so it fits the range, as a zap does in the terminal. The quote shows
the deposit, the balancing swap, the fees and the `minimum`. For a bin pool, add `strategy` (`spot`, `curve`,
`bid-ask` or `custom` with `weights`).
To act on it, send the person to the pool in the terminal. They review and sign there.
## Follow a pool live
Open `GET /v1/live` as a WebSocket and subscribe to `pool/$POOL`. You receive a snapshot, then deltas. Unsubscribe when
you no longer need it, and resync if you miss messages.
---
# Concentrated liquidity
Source: https://docs.lpinvictus.com/concepts/concentrated-liquidity
In a classic pool, your liquidity is spread over every price from zero to infinity, so most of it sits at prices that
never trade. **Concentrated liquidity** lets you choose a **range**, a band of prices, and put all of it there. While the
price is inside your range, the same deposit earns far more of the fees.
## In range and out of range
- **In range**: the current price is between your two edges. Traders use your liquidity and you earn fees. Your
position holds a mix of both tokens.
- **Near edge**: the price is close to one edge. Invictus marks it so you can act before it leaves.
- **Out of range**: the price crossed an edge. Your position earns nothing and holds only one token: the one that
was falling in value. It starts earning again if the price comes back.
## Choosing a range
| Range | Earns while in range | Leaves its range | Needs |
| --- | --- | --- | --- |
| Narrow, such as ±5% | The most | Often | Frequent attention or rebalancing |
| Balanced, such as ±15% | Medium | Sometimes | Occasional checks |
| Wide, such as ±30% or more | Less | Rarely | Little attention |
| Full range | The least | Never | None, like a classic pool |
How wide is right depends on how much the pair moves. Two stablecoins barely move, so a narrow range works. A new meme
token can move 50% in an hour, so a narrow range would leave its range almost at once.
:::tip[Use the chart]
When you create a position, your range is drawn over the price chart. Look at how often the price stayed inside it
over the last days. If it left several times, choose wider.
:::
## A range away from the price
A range entirely above the current price holds only the base token; a range entirely below holds only the quote token.
These single-sided ranges earn nothing until the price reaches them, and act like a limit order that also earns fees
while the price passes through. When you set one in Invictus, the panel says **One token only, until the price enters
the range**.
## Ticks and tick spacing
Concentrated pools divide prices into small steps called **ticks**. A range edge always sits on a tick, and **tick
spacing** sets how many ticks apart edges can be. Invictus rounds your edges to the nearest allowed tick for you, so you
never have to work them out.
## Moving your range
When the price leaves your range for good, you can **rebalance**: withdraw, swap to the new mix and deposit around the
new price. It costs swap fees and gas, and turns the price move into a realised result. See
[Manage positions](/positions/manage-positions#rebalance).
---
# DLMM and bins
Source: https://docs.lpinvictus.com/concepts/dlmm
A **DLMM** pool (Dynamic Liquidity Market Maker) is a concentrated pool where prices are divided into separate **bins**.
Each bin covers one small price step, and trades inside a bin happen at a fixed price with no price impact. Only the
bin at the current price, the **active bin**, earns fees at any moment.
In Invictus, bin pools are **Meteora DLMM** on Solana, **PancakeSwap Infinity Bin** on BNB Smart Chain and Base, and
**Ramses DLMM** on Robinhood Chain.
## Bins and bin step
The **bin step** is the price gap between two bins, for example 0.25%. A small bin step suits stable pairs; a larger one
suits volatile tokens. Bins below the current price hold the quote token; bins above hold the base token.
## Shapes
Instead of one even band, you choose how your liquidity is spread across the bins of your range.
### Spot
The same amount in every bin. A good default for most pairs.
### Curve
Most liquidity in the bins near the current price, less at the edges. Earns the most while the price stays close; best
for stable or slowly moving pairs.
### Bid-ask
Most liquidity at the edges, less in the middle. Buys more as the price falls and sells more as it rises; suits
volatile pairs and dip buying.
### Custom
Paint the amount for each bin yourself by dragging over the bins in the **Shape** picker. Pick a preset to start again.
## Range in bins
On a bin pool, the range picker also accepts **Bins** as a unit: a whole number of bins on each side of the price, so
you can think in steps rather than prices.
## Dynamic fees
Many DLMM pools have a **dynamic fee** that rises when the market is volatile, so LPs earn more when the risk is higher.
Discover marks these pools **Dynamic**.
---
# Fees and APR
Source: https://docs.lpinvictus.com/concepts/fees-and-apr
## Where fees come from
Every swap pays the pool's **fee tier**, a percentage of the trade, for example 0.05%, 0.3% or 1%. The fee goes to the
LPs whose liquidity the trade used. In a concentrated pool, that means only positions whose range contains the price at
that moment.
Your fees build up inside the position. They are not added to it automatically: collect them with **Claim fees**, or
they are paid out when you close.
## Fee APR
**Fee APR** turns recent fees into a yearly rate, so pools of different sizes can be compared:
```text
fee APR = fees over the timeframe ÷ TVL × (one year ÷ timeframe)
```
For example, a pool with 1,000,000 USD of TVL that earned 1,000 USD of fees in the last day has a fee APR of about
36.5%.
On Discover, the **APR** column follows the timeframe you pick. A short timeframe reacts quickly to a burst of trading;
a long one is steadier.
## Why APR can mislead
- **It looks backwards.** It assumes the next year looks like the last few hours or days. Trading volume rarely holds.
- **It averages the whole pool.** A narrow range in range earns more than the pool's APR; a range out of range earns
nothing.
- **It ignores price moves.** A high APR on a token that falls 50% can still lose money. See
[Impermanent loss](/concepts/impermanent-loss).
- **It ignores your costs.** Gas, swap fees and the platform fee come out of what you earn. On small positions they can
be a large share.
:::tip[Look at more than one number]
Compare APR with **Volume** and **TVL** over several timeframes. A steady pool with good volume relative to its TVL is
usually a better bet than a spike on a pool created an hour ago.
:::
## What you pay
| Cost | When | Shown |
| --- | --- | --- |
| Network fee (gas) | Every transaction | In each review, before you sign |
| Swap fee | When a zap, swap or rebalance swaps through a pool | In the quote |
| Platform fee | When you open a position or swap through Invictus | In the quote, as a percent and an amount |
Invictus shows every cost before you sign. Nothing is charged that the review did not show.
---
# Impermanent loss
Source: https://docs.lpinvictus.com/concepts/impermanent-loss
**Impermanent loss** (IL) is the difference between what your position is worth and what the same tokens would be worth
if you had simply held them. It appears whenever the price of the pair moves away from where you entered, in either
direction.
## Why it happens
A pool keeps itself balanced by trading with everyone. When one token rises, traders buy it from the pool, so the pool
sells your rising token. When one falls, traders sell it into the pool, so the pool buys more of your falling token. You
end up holding more of what went down and less of what went up.
## How big it is
For a classic, full-range pool, the loss compared with holding depends only on how far the price moved:
| Price change of one token | Loss compared with holding |
| --- | --- |
| ×1.25 or ÷1.25 | about 0.6% |
| ×1.5 or ÷1.5 | about 2.0% |
| ×2 or ÷2 | about 5.7% |
| ×3 or ÷3 | about 13.4% |
| ×5 or ÷5 | about 25.5% |
In a concentrated range the effect is stronger, because the same deposit is working in a smaller band of prices. The
narrower the range, the faster you are converted into the falling token.
## Try it
## Why "impermanent"
If the price returns to where you entered, the loss disappears. If you withdraw while the price is elsewhere, it
becomes permanent. Fees earned along the way offset it, and on a healthy pool they can outweigh it.
## How to live with it
- Prefer pairs that tend to move together, such as two stablecoins or a token and its staked version.
- Choose a wider range on volatile pairs.
- Count fees and IL together. **Portfolio** shows PnL by pool including fees, so you can see whether fees are winning.
- Rebalance with care: each rebalance makes the loss so far permanent.
---
# How liquidity pools work
Source: https://docs.lpinvictus.com/concepts/liquidity-pools
A **liquidity pool** is a smart contract that holds two tokens, for example ETH and USDC, so that anyone can swap one
for the other at any time. There is no buyer on the other side of a trade: the pool itself is the counterparty.
## Who puts the tokens there
The tokens come from **liquidity providers** (LPs): people who deposit both tokens into the pool. In return, every
trader who swaps through the pool pays a small **fee**, a percentage of the trade, and that fee is shared among the LPs
whose liquidity was used.
Think of it like a currency exchange booth that anyone can fund. Travellers pay a small commission on every exchange,
and the people who stocked the booth with cash share it.
## How the price is set
The pool sets its price from the balance of the two tokens it holds. When a trader buys ETH from the pool, the pool
holds less ETH and more USDC, so ETH becomes slightly more expensive in that pool. Arbitrage traders keep each pool's
price close to the market everywhere else.
## What you earn
You earn a share of the trading fees, in proportion to the liquidity you provide where trading happens. Busy pools with
a lot of volume compared with their size pay the most. See [Fees and APR](/concepts/fees-and-apr).
## What can go wrong
Providing liquidity is not a savings account. Before you deposit, understand these risks:
| Risk | What it means |
| --- | --- |
| **Price moves** | The pool sells the token that rises and buys the one that falls. You can end with less value than if you had simply held. See [Impermanent loss](/concepts/impermanent-loss). |
| **Out of range** | In a concentrated pool, your liquidity stops earning when the price leaves your range. See [Concentrated liquidity](/concepts/concentrated-liquidity). |
| **Bad tokens** | A token can be a scam: impossible to sell, mintable without limit, or frozen by its owner. Check the security card on the pool's **Token** tab. |
| **Smart contract risk** | The pool's code could have a flaw. Invictus supports established protocols, but no code is risk free. |
| **Network costs** | Every deposit, claim and withdrawal pays gas. Small positions can spend a large share of their earnings on gas. |
:::tip[Start small]
Open a small position in a deep, busy pool of tokens you already know. Watch it for a few days before putting in more.
:::
## Kinds of pools in Invictus
| Kind | How liquidity is placed | Examples |
| --- | --- | --- |
| **Classic** (full range) | Spread evenly across every possible price | Uniswap v2, Aerodrome v2, Raydium CPMM |
| **Concentrated** | In a price range you choose | Uniswap v3 and v4, PancakeSwap v3 and Infinity CL, Aerodrome Slipstream, Raydium CLMM, Ramses v3 |
| **Bins** (DLMM) | In separate price bins you choose | Meteora DLMM, PancakeSwap Infinity Bin, Ramses DLMM |
See [Chains and protocols](/networks) for the full list.
---
# Slippage and price impact
Source: https://docs.lpinvictus.com/concepts/slippage-and-price-impact
When you swap, zap or rebalance, the price you get can differ from the price you saw. Two separate things cause it.
## Price impact
**Price impact** is how much your own trade moves the pool's price. Buying takes tokens out of the pool, so each unit
costs a little more than the last. A trade that is large compared with the pool's liquidity moves the price a lot.
- Shown in every swap quote as **Price impact**.
- Lower it by trading less at once, or by using a pool with more liquidity.
- **Price impact limit** in Settings stops any trade that would move the price more than you allow.
## Slippage
**Slippage** is how much the price moves *between* the quote and the moment your transaction lands, because of other
people's trades. Your **slippage tolerance** is how much movement you accept. If the price moves further, the
transaction is cancelled instead of filling at a worse price, and only the network fee is spent.
- **Least received** in a quote is what you get at the edge of your tolerance.
- **Slippage** (for deposits, zaps and withdrawals) and **Swap slippage** (for swaps) are separate settings. **Auto**
follows the token: tighter for stablecoins, looser for volatile tokens.
:::warning[Very high slippage invites bots]
A wide tolerance lets bots trade just ahead of you and sell back to you at your worst accepted price, a trick called
*sandwiching*. Keep tolerance as low as works, and turn on **MEV protection** to send transactions privately.
:::
## Other protections
| Setting | What it stops |
| --- | --- |
| **Abort on tick drift** | A deposit that would land after the price left its tick |
| **Time limit** | A transaction that has waited too long to confirm |
| **Max swap loss** | A fallback route much worse than the best one |
All of them are in [Settings](/terminal/settings), under **Trading**.
---
# Transaction safety
Source: https://docs.lpinvictus.com/concepts/transaction-safety
Every transaction moves real money and cannot be undone once confirmed on the chain. Invictus is built so that you see
exactly what you sign, and so that nothing is signed without you.
## You always sign
Invictus holds no key. Your wallet's key is held by the wallet provider and is used only when you press **Confirm and
sign** in a review. Invictus cannot move funds by itself.
A future **Trading permission** setting will let you allow automation within limits you approve. It is marked **Soon**;
until then, every transaction waits for you.
## Four checks before the review
Before a review is shown, each transaction goes through four steps:
1. **Built** for exactly what you asked: the pool, the amounts, the range and your settings.
2. **Decoded**: the transaction is read back to confirm it calls the expected contract with the expected values.
3. **Validated** against your limits: slippage, price impact, fee limit and time limit.
4. **Simulated** on the chain, to confirm it would succeed and move the amounts shown.
If any step fails, Invictus stops and tells you why. It does not offer a transaction it could not check.
## What the review shows
- Each transaction **to sign**, in order, and what it does.
- What goes in and what comes out, with the least you will receive.
- Every cost: the network fee and any swap or platform fee.
- How it is sent: **Private** (with MEV protection) or **Public mempool**.
- Anything you must acknowledge before you can sign.
After you sign, the review follows each transaction through **Sending**, **Confirming**, **Confirmed** and **Final**, and
says plainly if one failed or was dropped.
## Approvals
Some protocols need an **approval** before they can move a token from your wallet. You can
see and remove every approval a wallet has granted under **Wallets**, then **Approvals**. See
[Your wallets](/getting-started/your-wallets#check-what-can-spend-your-tokens).
## What Invictus never does
- It never asks for your key or recovery phrase, in the app, by email, on Telegram or anywhere else.
- It never sends a transaction you did not confirm.
- It never shows a made-up figure. A value it cannot read is marked **Not available** or **Not valued**, never filled
with a zero.
More in [Security](/resources/security).
---
# Quickstart
Source: https://docs.lpinvictus.com/getting-started
This guide takes you from nothing to your first open position. It takes about ten minutes, most of it waiting for a
deposit to arrive. You do not need any experience with DeFi: every step says what you will see and what to do.
:::note[What you need]
- A Google account, a Telegram account, or a crypto wallet you already use, to sign in.
- Some tokens to provide, on one of the [supported chains](/networks), plus a little of that chain's gas token.
If you do not hold any yet, you can buy them on an exchange first and send them to Invictus in step 3.
:::
1. **Sign in**
Open [app.lpinvictus.com](https://app.lpinvictus.com) and press **Sign in** in the top right. Choose Google,
Telegram or a wallet. The first time, Invictus asks you to accept the **Terms of use** and the **Risk disclosure**,
then makes your first wallet, called **Main wallet**, which works on every EVM chain. For Solana,
add a Solana wallet from **Portfolio**, then **Wallets**, then **New wallet**.
Details and screenshots: [Sign in and create your account](/getting-started/sign-in).
2. **Look around first (optional)**
Every screen works before you deposit anything. Browse **Discover**, open a pool and read its numbers. Nothing is
sent until you press a confirm button and sign.
3. **Fund your wallet**
Open **Portfolio**, then **Wallets**, and press **Receive** on your wallet. Copy the address for the chain you
want and send tokens to it from an exchange or another wallet. Send a little of the chain's **gas token** too:
every transaction pays a small network fee in it.
Details, including how to pick the right network on an exchange: [Fund your wallet](/getting-started/fund-your-wallet).
4. **Pick a pool**
Go to **Discover**. Use the chain selector to show only the chain you funded, then sort by **TVL** or **Volume**
to start with large, busy pools. Click a row to open its workstation and look at the chart, the fees it earns and
the token safety checks.
5. **Open the position**
On the pool's workstation, the **Create position** panel is on the right. Keep **Zap**, type how much you want to
put in, and leave the suggested price range as it is for your first position. Invictus shows what it will swap,
what you will deposit and every cost.
6. **Review and sign**
Press the button at the bottom. A review lists each transaction, what it does, what you pay and what you get.
Invictus has already checked and simulated every one. If it all looks right, press **Confirm and sign**.
7. **Follow it**
When the transactions confirm, your position appears in **Positions**. It shows whether the price is inside your
range, what it is worth and the fees it has earned. From there you can claim fees, move the range or close it.
See [Manage positions](/positions/manage-positions).
## What to read next
**[How liquidity pools work](/concepts/liquidity-pools)**
Where the fees come from, and why a position can be worth less than holding.
**[Open a position, in depth](/positions/open-a-position)**
Zap or Deposit, choosing a range, bin shapes and every cost explained.
**[Set up alerts](/terminal/alerts)**
Get told when a position leaves its range or has fees to collect.
**[Security](/resources/security)**
Who holds your keys and what Invictus checks before you sign.
---
# Fund your wallet
Source: https://docs.lpinvictus.com/getting-started/fund-your-wallet
To provide liquidity you need tokens in your Invictus wallet. This page shows how to get them there safely, whether
they are on an exchange such as Binance, Coinbase, OKX, Bybit or Indodax, or in another wallet.
:::warning[The one rule that matters]
Always send on the **same network** as the address you copied. Sending USDC on the wrong network can lose it. If you
are unsure, send a small test amount first and wait for it to arrive.
:::
## Step 1: Copy your address
1. **Open Receive**
Go to **Portfolio**, then **Wallets**, and press **Receive** on the wallet you want to fund. To fund Solana you need a
Solana wallet; create one with **New wallet** if you have not yet.
2. **Choose the chain**
Pick the chain you will provide liquidity on. Invictus shows the address and a QR code for it.
3. **Copy it**
Press **Copy address**. Paste it where you send from, then check the first and last four characters match.
## Step 2: Send from where your tokens are
**From an exchange**
1. On the exchange, open **Withdraw** (sometimes called **Send** or **Transfer out**) and choose the token.
2. Paste your Invictus address.
3. Choose the **network**. Exchanges name networks in their own way; use the table below to match them.
4. Enter the amount. The exchange shows its withdrawal fee and the minimum it allows.
5. Confirm. Exchanges often ask for an email or authenticator code, and some hold a first withdrawal to a new
address for review.
6. Wait. Most withdrawals arrive within minutes; the exchange shows a transaction link once it is sent.
**From another wallet**
1. In your other wallet (MetaMask, Phantom, Rabby or similar), switch to the **same chain** as the address you copied.
2. Choose **Send**, paste your Invictus address and enter the amount.
3. Approve the transaction in that wallet. It pays its own network fee in that chain's gas token.
### Match the network name
| Chain in Invictus | Typical network name on an exchange | Gas token |
| --- | --- | --- |
| Solana | Solana, SOL | SOL |
| Ethereum | Ethereum, ERC20, ETH | ETH |
| Base | Base | ETH |
| Robinhood Chain | Robinhood Chain | ETH |
| BNB Smart Chain | BNB Smart Chain, BEP20, BSC | BNB |
| Arc | Arc | USDC |
| HyperEVM | HyperEVM, Hyperliquid EVM | HYPE |
Not every exchange supports every network. If yours does not list the chain you want, withdraw on a network it does
support and move the tokens later.
:::danger[Hyperliquid is not HyperEVM]
Hyperliquid has a trading layer and an EVM chain. Invictus uses **HyperEVM**. A withdrawal to the Hyperliquid trading
layer does not arrive at your HyperEVM address.
:::
## Step 3: Keep some gas
Every transaction on a blockchain pays a small **network fee**, called gas, in the chain's gas token. A zap usually
makes more than one transaction, and you will need gas again to claim fees and to close. Keep a small amount of the gas
token on each chain you use, in the same wallet as your tokens.
Invictus helps in two ways:
- **Gas reserve** in [Settings](/terminal/settings) keeps enough for your next transaction whenever you send or zap the
whole balance.
- The status bar at the bottom of the screen shows the current **gas for a swap** on the selected chain.
## Step 4: Check it arrived
Your balance in the top bar updates once the deposit confirms. The wallet card in **Portfolio** shows it per chain and
per token.
## Something went wrong?
**The exchange says the withdrawal is complete, but I see nothing**
Check the network you chose matches the chain in Invictus, then open the exchange's transaction link in a block
explorer and look at the recipient address. If both are right, wait a few minutes: Invictus updates once the chain
confirms.
**I sent on the wrong network**
If you sent to your Invictus address on another EVM chain, the funds are still yours: the same address exists on
every EVM chain. Use **Receive** for that chain to see them, or export the key and open the wallet elsewhere. Funds
sent between families (EVM to Solana or the reverse) usually cannot arrive; contact the sending exchange's support.
**My exchange asks for a memo or tag**
Invictus wallets do not use memos or tags. Leave the field empty if the exchange allows it.
More fixes are in [Troubleshooting](/resources/troubleshooting).
---
# Sign in and create your account
Source: https://docs.lpinvictus.com/getting-started/sign-in
Invictus has no password of its own. You sign in with an account you already have, and Invictus uses it to recognise
you. The sign-in itself is handled by **Privy**, a wallet and login provider that also creates and protects your
Invictus wallets (see [Your wallets](/getting-started/your-wallets)).
## Ways to sign in
| Method | What you need | Good to know |
| --- | --- | --- |
| **Google** | A Google account | The quickest. Your Google name and picture become your profile. |
| **Telegram** | A Telegram account | Telegram asks you to confirm the sign-in in the Telegram app. |
| **Wallet** | An EVM or Solana wallet, such as a browser extension | You sign a message to prove you own the address. Signing a message costs nothing and moves no funds. |
You can add more methods later, so you never lose access because one of them is gone.
## Your first sign-in
1. **Press Sign in**
Open [app.lpinvictus.com](https://app.lpinvictus.com). Screens that need an account, such as **Positions**, show a
sign-in prompt instead of data until you sign in.
2. **Choose a method and finish it**
A Privy window opens. Pick Google, Telegram or a wallet and follow its prompts. A short check from Cloudflare
Turnstile confirms you are a person and not a bot. If it shows a box, tick it.
3. **Accept the terms**
The first time, Invictus shows **Accept to continue** with links to the **Terms of use** and the **Risk
disclosure**. Read them: providing liquidity can lose money, and the disclosure explains how. You must accept both
to use the terminal.
4. **Make your wallet**
Invictus then offers to **Make your wallet**. Press **Create wallet**. Your first wallet is named **Main wallet**.
It is an **EVM wallet**: one address that works on Ethereum, Base, Robinhood Chain, BNB Smart Chain, Arc and
HyperEVM. To use Solana, add a **Solana wallet** afterwards from **Portfolio**, then **Wallets**, then
**New wallet** (see [Your wallets](/getting-started/your-wallets#add-more-wallets)).
That is all. You land on **Discover**, and your wallet balance appears in the top bar.
## Manage how you sign in
Open the account menu (your picture in the top right) and choose **Security**.
- **Your ways to sign in** lists each linked Google account, Telegram account or wallet. Use **Add a way to sign in**
to link another one. You can remove any of them except the last.
- **Where you are signed in** lists your active sessions. Sign out of any you do not recognise.
- **Telegram alerts** links a Telegram chat so alerts reach you there. See [Alerts](/terminal/alerts#telegram).
- **Trading permission** is marked **Soon**. It will let you choose what Invictus may sign for you; today, every
transaction waits for your own confirmation.
:::tip[Turn on sign-in alerts]
In **Alerts**, switch on **New sign-in** and **Key export**. You will get a notification whenever someone signs in to
your account or exports a wallet key, so you notice at once if it was not you.
:::
## Your profile
**Profile**, in the same menu, holds your **Username**. Set one so you are easy to recognise, for example on the rewards
leaderboard.
---
# Your wallets
Source: https://docs.lpinvictus.com/getting-started/your-wallets
A **wallet** is an address on a blockchain that holds tokens, plus the secret **key** that can move them. Whoever has
the key controls the funds. This page explains which wallets Invictus gives you, who holds their keys, and what you can
do with them.
## Who holds the key
Invictus never sees, stores or uses your keys. Your wallets are **embedded wallets** created by **Privy**, a wallet
provider: the key is generated and protected inside Privy's secure system, and it is only ever used when you confirm a
transaction. Invictus prepares transactions, checks them and asks you to sign; it cannot sign for you.
:::info[What this means for you]
- Invictus cannot move your funds on its own, and neither can anyone who breaks into Invictus.
- You can **export the key** at any time and use the same wallet in any other wallet app. If Invictus disappeared
tomorrow, your funds would still be yours.
- Protect the accounts you sign in with. Anyone who can sign in as you can ask to sign transactions, so turn on
[sign-in alerts](/getting-started/sign-in#manage-how-you-sign-in) and keep a second way to sign in.
:::
## Two families of address
Blockchains come in families that share an address format.
| Family | Chains | Address looks like |
| --- | --- | --- |
| **EVM** | Ethereum, Base, Robinhood Chain, BNB Smart Chain, Arc, HyperEVM | `0x` followed by 40 characters |
| **Solana** | Solana | 32 to 44 letters and digits, no `0x` |
Each Invictus wallet belongs to one family. Your first wallet, **Main wallet**, is an **EVM wallet**. To use Solana,
create a **Solana wallet** as shown in [Add more wallets](#add-more-wallets).
An EVM wallet has the same address on all six EVM chains, but the tokens on each chain are separate: USDC on Base is
not USDC on Ethereum, even at the same address.
## The Wallets tab
Open **Portfolio**, then **Wallets**. Each wallet is a card with its balance, its tokens by chain and a row of actions.
| Action | What it does | Available |
| --- | --- | --- |
| **Receive** | Shows the wallet's address for a chain, with a QR code to scan. | Yes |
| **Send** | Sends a token to any address on the same chain. | Yes |
| **Transfer** | Moves a token to another of your own wallets. | Yes |
| **Distribute** | Splits an amount across several of your wallets. | Coming soon |
| **Bridge** | Moves a token to another chain. | Coming soon |
| **Consolidate** | Gathers one wallet's tokens into another. | Coming soon |
Tokens are tagged **Native** (issued on that chain) or **Bridged** (a copy brought over from another chain). Wallets you
linked from outside are tagged **Linked**.
When you send, Invictus keeps back enough of the gas token for your next transaction (see **Gas reserve** in
[Settings](/terminal/settings)) and shows the network cost before you confirm.
## Add more wallets
Press **New wallet** and choose **EVM wallet** or **Solana wallet**. You can hold **up to 5 wallets of each family**. Separate wallets are useful to
keep strategies apart, for example one wallet for stable pairs and one for riskier tokens.
Use **Rename wallet** to give each one a name you will recognise. Names are only labels; they never change the address.
## Export a key
Use the key icon on a wallet card to **export its key**.
1. **Confirm it is you**
Invictus asks you to sign a short message with that wallet, called a **step-up**. It proves the request comes from
you, costs nothing and moves no funds.
2. **Read the key in Privy's window**
The key is shown in a window served by Privy, not by Invictus. Invictus never receives it.
3. **Store it offline**
Write it down or keep it in a password manager. Never paste it into a website, chat or form, and never share it
with anyone, including people who say they are Invictus support. Invictus will never ask for it.
If you turned on the **Key export** alert, you get a notification each time a key is exported.
## Check what can spend your tokens
Some protocols ask for an **approval**: permission for a contract to move a token from your wallet. The **Approvals**
view of a wallet lists every spender, the token and the allowance (a set amount or **Unlimited**). A spender Invictus
cannot identify is marked **Unknown spender**, and risky ones are marked **At risk**.
If you see an approval you do not need, remove it. Fewer open approvals mean less exposure if a contract is ever
compromised.
---
# Chains and protocols
Source: https://docs.lpinvictus.com/networks
Invictus works on seven chains and with seven liquidity protocols. Every pool on them appears in Discover with the same
columns, and every position in Positions with the same actions.
## Chains
| Chain | Family | Gas token | Notes |
| --- | --- | --- | --- |
| **Solana** | Solana | SOL | Needs a Solana wallet. |
| **Ethereum** | EVM | ETH | The highest network fees; best for larger positions. |
| **Base** | EVM | ETH | |
| **Robinhood Chain** | EVM | ETH | |
| **BNB Smart Chain** (BSC) | EVM | BNB | |
| **Arc** | EVM | USDC | Gas is paid in USDC. |
| **HyperEVM** | EVM | HYPE | The EVM chain of Hyperliquid, not its trading layer. |
One EVM wallet has the same address on all six EVM chains. Tokens on each chain are still separate. See
[Your wallets](/getting-started/your-wallets).
## Protocols
## Which version runs where
## What the versions mean
| Version | Kind | What it means for you |
| --- | --- | --- |
| **v2**, **CPMM** | Classic | Liquidity covers every price. It never leaves its range. |
| **DAMM v2** | Meteora's dynamic pool | You deposit into the pool's own curve and do not choose a range. Its fee can change over time. |
| **v3**, **CLMM**, **Slipstream**, **Infinity CL** | Concentrated | You choose a price range. See [Concentrated liquidity](/concepts/concentrated-liquidity). |
| **v4** | Concentrated, with hooks | Like v3, and a pool may have a **hook**: extra code that runs on its swaps, for example to set a dynamic fee. Discover can filter on it. |
| **DLMM**, **Infinity Bin** | Bins | You choose bins and a shape. See [DLMM and bins](/concepts/dlmm). |
| **OMM** | Metric's own pool design | Open the pool's workstation to see how its liquidity is placed. |
## Native tokens and wrapped tokens
Some pools hold the chain's native token (ETH, SOL, BNB); others hold its **wrapped** version (WETH, WSOL, WBNB), an
ordinary token worth exactly one native token. With **Wrap automatically** on in [Settings](/terminal/settings),
Invictus converts between them when a pool needs it, so you do not have to.
---
# Manage positions
Source: https://docs.lpinvictus.com/positions/manage-positions
**Positions** lists every open position across your wallets and the chains chosen in the top bar. It is where you look
after them.
## Read a position
| Column | What it shows |
| --- | --- |
| **Pool** | The pair, protocol, fee tier and chain. |
| **Position** | Its value now and its range. Bin positions also show their shape. |
| **Fees** | Fees earned and not yet claimed. |
| **Status** | **In range** (earning), **Near edge** (about to leave its range) or **Out of range** (not earning). |
| **Age** | How long it has been open. |
**Idle** means the position is not earning right now. **Not valued** means there is no reliable price for it at the
moment; it is left out of totals rather than counted as zero.
Use the filters **All**, **In range**, **Near edge** and **Out of range** to find the ones that need you.
## Actions on one position
Each row has four actions. Each opens a small dialog with what will happen, the costs and a button to confirm, followed
by the same review and signing step as when you opened it.
### Rebalance
Moves the range back around the current price: Invictus withdraws, swaps to the new mix and deposits again. Choose the
**New range**: **My range** (your default from Settings), **±5%** (narrow), **±15%** (balanced) or **±30%** (wide).
:::note[Rebalancing has a cost]
Each rebalance pays swap fees and gas, and locks in any loss from the price move. Rebalancing too often can cost more
than it earns. See [Impermanent loss](/concepts/impermanent-loss).
:::
### Add liquidity
Adds more to the same position, in the same range.
### Claim fees
Sends the fees the position has earned to your wallet. The position stays open.
### Close
Withdraws liquidity. Choose how much to **Withdraw**: **All, and close**, **50%** or **25%**. Choose how to **Receive
as**: **Both tokens**, the **Native token** or a **Stablecoin**. Unclaimed fees are paid out with it.
The dialog shows **You receive** and **At least**, the least you will get after slippage.
## Actions on many positions
The buttons above the list act on every position the filter shows:
- **Rebalance**: rebalances them all to the range you choose.
- **Claim all**: claims the fees of each one.
- **Close all**: closes them all.
Each position still gets its own transactions in the review, so you can see exactly what will be signed.
## Alerts
The bell on a row sets alerts on that position: out of range, back in range, near its edge, fees ready, value moved or
closed elsewhere. See [Alerts](/terminal/alerts).
---
# Open a position
Source: https://docs.lpinvictus.com/positions/open-a-position
A **position** is your share of a pool: the tokens you deposited, the price range they work in, and the fees they earn.
This guide walks through the **Create position** panel on a pool's workstation, field by field.
:::note[Before you start]
You need tokens in your wallet on the pool's chain, plus some gas. See [Fund your wallet](/getting-started/fund-your-wallet).
If words like *range* or *in range* are new, read [Concentrated liquidity](/concepts/concentrated-liquidity) first; it
takes five minutes.
:::
## 1. Choose Zap or Deposit
| | **Zap** | **Deposit** |
| --- | --- | --- |
| You pay with | Any one token you hold | The pool's two tokens, in the amounts you type |
| Invictus | Swaps part of it into the mix the range needs, then deposits | Deposits exactly what you typed |
| Best when | You hold one token, or want it done in one step | You already hold both tokens and want full control |
**Zap** is the easiest way in. **Pay with** chooses the token you pay with; the panel then shows the swap it will make.
## 2. Choose a range
The **range** is the band of prices where your liquidity works. While the price is inside it, you earn fees. When the
price leaves it, your position stops earning and holds only one of the two tokens until the price comes back.
- **Presets** set a range around the current price in one click. Your own default comes from **Price range** in
[Settings](/terminal/settings).
- **Min** and **Max** set the edges yourself. You can also drag the edges on the chart.
- **Full** puts the range over every price, like a classic pool: it never leaves its range but earns less per dollar.
- **Unit**: type edges as a **Price**, as a market cap (**MC**), or, on bin pools, as a number of **Bins**.
- **Token mix** shows how much of each token the range needs at today's price.
A range that does not contain the current price takes **one token only, until the price enters the range**. That is how
you place liquidity that buys a dip or sells into a rise.
:::tip[How wide?]
A narrow range earns more while the price stays in it, but leaves its range sooner and needs more care. A wide range
earns less per dollar but needs less attention. If unsure, start wide and narrow it as you learn how the pool moves.
:::
## 3. On bin pools, choose a shape
On a **DLMM** pool, liquidity sits in separate price bins, and you choose how it is spread across them:
| Shape | Spread | Suits |
| --- | --- | --- |
| **Spot** | The same in every bin | Most cases; a good default |
| **Curve** | Most in the bins near the price | Stable or slowly moving pairs |
| **Bid-ask** | Most at the edges | Buying dips and selling rises |
| **Custom** | Drawn by you | Painting your own spread over the bins |
For **Custom**, drag over the bins to shape it your way. See [DLMM and bins](/concepts/dlmm).
## 4. Read the costs
Below the range, Invictus lists what opening costs before you commit.
**Total deposit**
- **Into the position**: what each token puts into the position.
- **Least received**: the least that goes in after your slippage tolerance. Below it, the deposit stops instead of
landing at a worse price.
**Cost to open** (press it to see each line)
- **Network**: the gas for the transactions it needs, paid to the chain in its gas token. The line says how many
transactions there are.
- **Swap fee**: the pool fee on a balancing swap. A zap's own swap pays no swap fee.
- **Platform fee**: the Invictus fee, as a percent of the position's value when it opens. The line says whether it is
taken from the swap or paid by a step of its own.
- **Referral discount**: shown when you joined with someone's referral code.
If the quote expires or pauses, refresh it before going on.
## 5. Review and sign
Press the button at the bottom of the panel. A review opens with each transaction **to sign**, what it does, what goes
in and out, and how it is sent (**Private** with MEV protection on, or **Public mempool**).
Before you see the review, Invictus has already **decoded** each transaction, **checked** it against what you asked
for, and **simulated** it on the chain. If any check fails, the action stops and says why. See
[Transaction safety](/concepts/transaction-safety).
Press **Confirm and sign**. The review follows each step through **Sending**, **Confirming**, **Confirmed** and
**Final**.
If a step fails or is dropped, the review says so. **It did not go through. Nothing changed** means no funds moved
apart from the network fee. If an action has several steps and only some went through, it says that too, and the
result is visible in **Positions** and **History**.
## What next
Your position is now in [Positions](/positions/manage-positions). Set an [alert](/terminal/alerts) so you know when it
leaves its range.
---
# Frequently asked questions
Source: https://docs.lpinvictus.com/resources/faq
**What is Invictus?**
A terminal for liquidity providers. It brings pool discovery, analysis, opening and managing positions and tracking
results into one screen, on seven chains and seven protocols.
**Does Invictus hold my funds?**
No. Your funds are in your own wallet on the chain, and the key is held by the wallet provider, Privy, not by
Invictus. You confirm every transaction, and you can export your key at any time. See [Your wallets](/getting-started/your-wallets).
**Can I use my existing wallet?**
Yes. Sign in with it, or add it under **Security**, and it appears in **Wallets** tagged **Linked**. A linked wallet
signs its own transactions in your wallet app. You can also use the wallets Invictus creates for you, which you fund
like any other wallet.
**What does it cost?**
Every transaction pays a network fee to the chain. Swaps pay the pool's fee. Opening a position or swapping through
Invictus includes a platform fee. Every cost is shown, as an amount, before you sign. See [Fees and APR](/concepts/fees-and-apr#what-you-pay).
**Which chains and protocols are supported?**
Solana, Ethereum, Base, Robinhood Chain, BNB Smart Chain, Arc and HyperEVM, with Uniswap, PancakeSwap, Aerodrome,
Ramses, Meteora, Raydium and Metric. See [Chains and protocols](/networks).
**Can I lose money?**
Yes. Prices move, and a liquidity position can be worth less than holding the same tokens. Tokens can also be scams.
Read [How liquidity pools work](/concepts/liquidity-pools) and [Impermanent loss](/concepts/impermanent-loss) before
you start, and begin with a small amount.
**Does Invictus rebalance my positions automatically?**
Not yet. You rebalance with one action from **Positions**. Automation that signs within limits you approve is
planned and shown as **Trading permission: Soon**.
**Are points a token?**
No. Points have no money value and are not a token. They decide your rewards tier. Cashback you earn is claimed and
paid on Solana. See [Rewards](/terminal/rewards).
**Is there a mobile app?**
The terminal works in your phone's browser with a layout made for small screens.
**Is there an API?**
Yes. A public, read-only API serves pools, tokens, candles and quotes, with no key needed. See [Build with AI](/build-with-ai)
and the [API reference](/api).
---
# Glossary
Source: https://docs.lpinvictus.com/resources/glossary
Plain-language definitions of the words you meet in Invictus and in DeFi liquidity. Each links to the page that explains
it in more depth, where there is one.
## A
### Active bin [!toc]
In a bin pool, the bin at the current price. Only it earns fees at any moment. See [DLMM](/concepts/dlmm).
### Approval [!toc]
Permission you give a contract to move a token from your wallet. Listed under **Wallets**, then **Approvals**.
### APR (fee APR) [!toc]
Recent fees expressed as a yearly rate on the pool's TVL. A snapshot, not a promise. See [Fees and APR](/concepts/fees-and-apr).
## B
### Base token / quote token [!toc]
In a pair such as SOL/USDC, the base token (SOL) is priced in the quote token (USDC).
### Bin, bin step [!toc]
A bin is one price step of a DLMM pool; the bin step is the gap between two bins.
### Block explorer [!toc]
A website that shows transactions and addresses on a chain, such as Etherscan or Solscan.
### Bridged token [!toc]
A copy of a token brought over from another chain. Marked **Bridged** in Wallets.
## C
### Concentrated liquidity [!toc]
Liquidity placed in a price range you choose. See [Concentrated liquidity](/concepts/concentrated-liquidity).
## D
### DLMM [!toc]
Dynamic Liquidity Market Maker, a pool design with separate price bins.
### Dynamic fee [!toc]
A pool fee that changes with market conditions, usually rising when volatility is high.
## E
### Embedded wallet [!toc]
A wallet created for you inside the app by a wallet provider (Privy). You confirm its transactions; Invictus never holds its key.
### EVM [!toc]
Ethereum Virtual Machine. EVM chains share one address format; in Invictus they are Ethereum, Base, Robinhood Chain, BNB Smart Chain, Arc and HyperEVM.
## F
### Full range [!toc]
A range covering every price. It never goes out of range but earns less per dollar.
## G
### Gas, network fee [!toc]
What a chain charges to process a transaction, paid in its gas token.
### Gas reserve [!toc]
The amount of gas token Invictus keeps back so you can always pay for your next transaction.
## H
### Hook [!toc]
Extra code attached to a v4 pool that runs on its swaps, for example to set a dynamic fee.
### Honeypot [!toc]
A scam token that can be bought but not sold.
## I
### Impermanent loss (IL) [!toc]
How much less a liquidity position is worth than simply holding the same tokens. See [Impermanent loss](/concepts/impermanent-loss).
### In range / near edge / out of range [!toc]
Whether the current price is inside your range (earning), close to an edge, or outside it (not earning).
## L
### Limit order [!toc]
An order to buy or sell when the price reaches a target. See [Limit orders](/terminal/limit-orders).
### Liquidity pool [!toc]
A contract holding two tokens that anyone can swap between. See [How liquidity pools work](/concepts/liquidity-pools).
### Liquidity provider (LP) [!toc]
Someone who deposits tokens into a pool to earn trading fees.
## M
### Market cap (MC, MCap) [!toc]
Price × circulating supply. Not the same as fully diluted value.
### MEV [!toc]
Profit bots take by reordering or trading around other people's transactions. **MEV protection** sends yours privately.
### Mint authority [!toc]
The right to create more of a token. A live mint authority means supply can grow without limit.
## P
### Position [!toc]
Your liquidity in one pool: the tokens, the range and the fees earned.
### Price impact [!toc]
How much your own trade moves the price. See [Slippage and price impact](/concepts/slippage-and-price-impact).
## R
### Range [!toc]
The prices between which a position provides liquidity.
### Rebalance [!toc]
Moving a position's range around the current price by withdrawing, swapping and depositing again.
### RPC [!toc]
The service through which an app reads a chain and sends transactions to it.
## S
### Simulation [!toc]
Running a transaction against the chain's current state without sending it, to see what it would do.
### Slippage tolerance [!toc]
How far the price may move before your transaction is cancelled.
### Step-up [!toc]
A fresh signature from your wallet that confirms a sensitive action, such as exporting a key.
## T
### Tick, tick spacing [!toc]
The small price steps of a concentrated pool, and how far apart range edges may be.
### TVL [!toc]
Total value locked: the value of all the tokens deposited in a pool.
## V
### Volume [!toc]
The value traded through a pool over a period.
## W
### Wrapped token [!toc]
A token version of a chain's native coin (WETH, WSOL, WBNB), worth exactly one native coin.
## Z
### Zap [!toc]
Opening a position by paying with one token; Invictus swaps to the mix the range needs and deposits.
---
# Security
Source: https://docs.lpinvictus.com/resources/security
## The short version
- **Your keys are yours.** Invictus never sees or stores them. Your wallets are created and protected by Privy, and you
can export a key whenever you want.
- **You sign everything.** No transaction is sent without your **Confirm and sign**.
- **Every transaction is checked first.** Invictus decodes, validates and simulates it before you see the review.
- **No made-up numbers.** A figure Invictus cannot read is marked as not available, never shown as zero.
## How your funds are protected
| Layer | What it does |
| --- | --- |
| **Embedded wallet (Privy)** | Generates and protects your key; signs only when you confirm. |
| **Step-up for sensitive actions** | Exporting a key needs a fresh signature from that wallet. |
| **Transaction checks** | Each transaction is built for what you asked, decoded, checked against your limits and simulated. See [Transaction safety](/concepts/transaction-safety). |
| **Your limits** | Slippage, price impact, fee and time limits stop a transaction that would go beyond them. |
| **Token security card** | GoPlus checks for honeypots, mint and freeze authorities and more, on each pool's **Token** tab. |
| **One way out** | The terminal talks only to Invictus's own servers, never directly to third parties from your browser. |
## Protect your account
Your account is the way in to your wallets, so protect it like a bank login.
1. **Secure what you sign in with.** Turn on two-factor authentication for your Google account, and a passcode for
Telegram.
2. **Add a second way to sign in** under **Security**, so you never lose access.
3. **Turn on New sign-in and Key export alerts**, and link Telegram so you see them quickly.
4. **Review where you are signed in** under **Security**, and sign out of devices you do not use.
5. **Review approvals** under **Wallets**, then **Approvals**, and remove the ones you no longer need.
## Avoid scams
:::danger[Invictus will never]
- Ask for your private key or recovery phrase.
- Ask you to send funds to "verify", "unlock" or "migrate" a wallet.
- Contact you first through a direct message offering support.
:::
- Only use [app.lpinvictus.com](https://app.lpinvictus.com) and [docs.lpinvictus.com](https://docs.lpinvictus.com).
Bookmark them. Check the address before you sign in.
- Open the Telegram bot only from the button in Invictus.
- Be careful with new tokens. Read the security card, and remember that a clean card is not a guarantee.
## Report a vulnerability
If you find a security issue, please report it privately instead of posting it publicly. The contact is published in
the app's `security.txt` at [app.lpinvictus.com/.well-known/security.txt](https://app.lpinvictus.com/.well-known/security.txt).
---
# Troubleshooting
Source: https://docs.lpinvictus.com/resources/troubleshooting
Find the message or the symptom you see, then follow the fix. If nothing here helps, ask in the community channels
linked in the footer, and never share your key with anyone who offers help.
## Signing in
**The sign-in window does not open or closes at once**
Allow pop-ups for app.lpinvictus.com, turn off extensions that block scripts for the site, and try again. Private
browsing modes that block third-party cookies can also stop the sign-in window.
**Your account could not be loaded**
Invictus could not read your account after signing in. Reload the page. If it keeps happening, sign out from the
account menu and sign in again.
**That was not recorded (when accepting the terms)**
Your acceptance did not reach Invictus. Check your connection and press accept again.
## Deposits and balances
**My deposit does not show**
Check that you sent on the same network as the address you copied, and that the transaction is confirmed on a block
explorer. See [Fund your wallet](/getting-started/fund-your-wallet#something-went-wrong).
**A token shows Not valued**
Invictus has no reliable price for it right now, so it is left out of totals instead of being counted as zero. The
tokens are still in your wallet.
**Balance shows last known**
The balance could not be refreshed, so Invictus shows the last one it read. It updates once the chain answers again.
## Quotes and transactions
**The button says Over your limits**
The trade would go beyond one of your limits, such as slippage, price impact or fee limit. Trade a smaller amount,
choose a deeper pool, or, if you understand the risk, raise the limit in [Settings](/terminal/settings).
**The quote expired or is paused**
Quotes are valid for a short time so you never sign at an old price. Press **Refresh the quote**.
**It could not be prepared**
Invictus could not build or check the transaction, so it stopped before asking you to sign. Nothing was sent. Try
again in a moment; the message says which check failed.
**It did not go through. Nothing changed.**
The transaction failed or was cancelled on the chain, usually because the price moved beyond your slippage or the
time limit passed. Your tokens did not move; only the network fee may have been spent. Refresh the quote and try
again.
**Dropped**
The transaction was never included by the chain, often because the network was busy. Nothing moved. Try again, or
choose a faster **Speed** in Settings, then **Gas**.
**Some operations did not go through**
An action with several steps finished only some of them. Check **Positions** and the pool's **History** to see what
happened, then finish or undo the rest from there.
**There is no wallet of this chain**
You have no wallet of the family that chain uses. For Solana, create a Solana wallet under **Wallets**, then
**New wallet**.
**Not enough gas**
Keep some of the chain's gas token in the same wallet. See [Fund your wallet](/getting-started/fund-your-wallet#step-3-keep-some-gas).
## Positions
**My position stopped earning**
It is **Out of range**: the price left your range. Wait for the price to come back, or **Rebalance** to a range
around the current price. See [Manage positions](/positions/manage-positions).
**My position holds only one token**
That is normal when the price is outside your range. See
[Concentrated liquidity](/concepts/concentrated-liquidity#in-range-and-out-of-range).
**A position I closed elsewhere still shows**
Invictus picks up changes made in other apps from the chain; it can take a short moment. Turn on the **Position
closed elsewhere** alert to be told.
## The terminal
**Connection lost in the status bar**
You are offline or the connection to Invictus dropped. The terminal reconnects by itself; figures update once it
does.
**Prices are not available right now**
Invictus could not read prices. Figures that depend on them are hidden rather than shown wrong. Wait a moment before
acting.
**Too many requests**
You (or an app using the API) asked too often. Wait for the time it says and try again.
---
# A tour of the terminal
Source: https://docs.lpinvictus.com/terminal
Every screen in Invictus shares the same frame: a **top bar** for moving around and acting on your account, the screen
itself in the middle, and a **status bar** along the bottom. Learn the frame once and every screen feels familiar.
## The top bar
From left to right:
| Part | What it does |
| --- | --- |
| **Discover, Positions, Portfolio, Rewards** | The four main screens. |
| **Search** | Finds a token or a pool by name, symbol or address. Press / or Ctrl K (⌘ K on a Mac) from anywhere. |
| **Chain selector** | Chooses which chains the screens show: one chain, several, or **All chains**. |
| **Balance** | Your balance across every wallet. Open it to see each wallet and its gas. |
| **Notifications** | The inbox where your alerts arrive. |
| **Quick settings** | The settings you change most, with **All settings** for the rest. |
| **Account menu** | Profile, Security, Wallets, Rewards, Settings and Sign out. |
## Search
Type at least two characters. Results show tokens with their price, market cap and one-hour volume, and pools with
their fee and tick spacing. You can also paste a **token address** or a **pool address** to jump straight to it. Your
recent searches are kept for next time.
## Notifications
The bell opens your inbox. Alerts you turn on in [Alerts](/terminal/alerts) arrive here, newest first, along with the
result of each transaction you send. Select one to open what it is about.
## The status bar
The bar along the bottom tells you whether the terminal is healthy:
- **API round trip**: how quickly Invictus answers, in milliseconds. **Connection lost** means you are offline; the
terminal reconnects by itself.
- **Gas for a swap**: what a simple swap costs on the selected chain right now.
- A note appears when prices or a chain cannot be read, so you never act on stale numbers without knowing it.
## On a phone
Invictus works on a phone too. The four screens move into a menu, and a pool's workstation splits into tabs: **Chart**,
**Trade**, **Pool** and **Activities**.
## What is next
- [Find pools](/terminal/discover) on Discover.
- [Read a pool](/terminal/pool-workstation) before you put money in.
---
# Alerts and notifications
Source: https://docs.lpinvictus.com/terminal/alerts
A liquidity position needs attention at the right moment: when the price leaves your range it stops earning. Alerts
tell you when that happens, so you do not have to watch the screen.
## Where alerts arrive
- **Inbox**: the bell in the top bar. Every alert lands here.
- **Telegram**: a chat with the Invictus bot, once you link it (see [below](#telegram)).
- **Sounds**: a short sound when a trade ends or an alert arrives, if you turn it on in **Settings**, then **Sounds**.
## Alerts on a position or a pool
Each position row and each pool panel has a bell icon. Press it to see that thing's alerts and add one.
| On | Kind | You set |
| --- | --- | --- |
| A position | **Position out of range** | Nothing |
| A position | **Position back in range** | Nothing |
| A position | **Position near its edge** | How close, in percent |
| A position | **Fees ready to collect** | Nothing |
| A position | **Position value moved** | A percent, within 5 minutes, an hour or a day |
| A position | **Position closed elsewhere** | Nothing |
| A pool | **Price level** | A price in US dollars, and **Above**, **Below** or **Either** |
| A pool | **Price move** | A percent, within 5 minutes, an hour or a day |
| A pool | **Pool figure** | **Fee APR**, **TVL**, **Volume** or **Liquidity**, a percent and a window |
Each rule can be switched off without deleting it, or deleted.
## Alerts about your account
The **Alerts** page ([app.lpinvictus.com/alerts](https://app.lpinvictus.com/alerts)) lists every rule you have and
where each is delivered. Use **Add an account alert** for:
- **New sign-in**: someone signed in to your account.
- **Key export**: a wallet key was exported.
- **Transaction**: one of your transactions confirmed or failed.
:::tip
Turn on **New sign-in** and **Key export** now. They cost nothing and warn you straight away if someone else uses your
account.
:::
## Default alerts in Settings
**Settings**, then **Alerts**, sets what Invictus tells you about by default: **Out of range**, **Near the edge**,
**Fees ready** and **Transactions** (a swap, a zap or an order that went through, or one that failed or was dropped).
For **Near the edge** you choose how close counts.
## Telegram
Link a Telegram chat to receive alerts on your phone, even when Invictus is closed.
1. **Get a code**
Open the account menu, choose **Security** and find **Telegram alerts**. Press **Get a code**.
2. **Send it to the bot**
Press **Open @…** next to the code. Telegram opens the official Invictus bot with the code ready; press **Start**.
You can also send `/start` followed by the code yourself. The code works once and expires after a short time;
press **Make a new code** if it ran out.
3. **Done**
Alerts now reach that chat as well as your inbox.
Only one Telegram chat can be linked to an account. If one already is, Invictus says so.
:::warning[Only trust the link from Invictus]
Always open the bot from the button in Invictus. Impostor bots copy names and pictures. The real bot never asks for a
key, a recovery phrase or a payment.
:::
---
# Create a pool
Source: https://docs.lpinvictus.com/terminal/create-pool
If the pair you want has no pool yet, you can create one. Creating a pool is an advanced action: you set its starting
price, and a pool that starts at the wrong price can be traded against at once. Read this page to the end before you
start.
## Create it
1. **Choose the chain and protocol**
Press **Create pool** at the end of the tools on Discover, or at the foot of a pool panel to start another pool of
that token. Pick the **Chain**, then the **Protocol** and version. The options that follow depend on
the version you pick.
2. **Choose the pair**
Search the **Token** you want to list and the **Quote token** it trades against, such as USDC or the chain's
native token. If a pool with the same settings already exists, the dialog says **This pool exists**.
3. **Choose the fee and spacing**
Pick a **Fee** tier. Depending on the protocol you also choose a **Tick spacing**, or a **Base fee and bin step** for
a bin pool, or a **Curve**. Some versions accept a **Hook contract** and a **Dynamic fee** set by the hook.
4. **Set the starting price**
Type the **Starting price**. An empty pool trades at once at this price, so start it at the market price you can see
elsewhere.
5. **Add the first deposit**
Fill **First deposit**. Trading starts once it lands. On versions that allow it, choose when **Trading opens**:
**Now** or **Later**, at a time you set.
6. **Review and sign**
Press **Create pool**, read the review and press **Confirm and sign**.
:::warning[Starting price mistakes cost money]
If you start the pool far from the market, the first traders buy your tokens cheaply or sell theirs to you dearly,
until the price matches the market. Double-check the price and which token it is quoted in.
:::
After it confirms, the new pool appears in Discover and you have its first position in **Positions**.
---
# Find pools with Discover
Source: https://docs.lpinvictus.com/terminal/discover
**Discover** is the list of every pool Invictus follows, on every supported chain, with the same columns for all of
them. Use it to shortlist pools worth a closer look.
## Read a row
| Column | What it means |
| --- | --- |
| **Pool** | The two tokens, the protocol, the fee tier and the chain. Tags such as **New**, **RWA** (real-world asset) or **Dynamic** (the fee changes with volatility) appear here. |
| **Price** | What one base token costs right now, in US dollars, with its change over the timeframe. |
| **MCap** | Market cap: what all circulating tokens are worth (price × circulating supply). |
| **Age** | How long the pool has existed. |
| **TVL** | Total value locked: the liquidity deposited in the pool. |
| **Volume** | How much was traded over the timeframe. |
| **Fees** | What traders paid to liquidity providers over the timeframe. |
| **APR** | The fee APR: the fees over the timeframe, expressed as a yearly rate on the pool's TVL. |
| **Trend** | A small chart of the price over the timeframe. |
A cell that shows **Not available** has no reliable figure right now. Invictus never fills a gap with a guess or a zero.
:::warning[APR is a snapshot, not a promise]
APR assumes the pool keeps earning at today's pace for a year. Fees change with trading, and a narrow range can earn
more or nothing at all. Read [Fees and APR](/concepts/fees-and-apr) before you compare pools by APR alone.
:::
## Choose the timeframe and columns
**Timeframe** sets the window for price change, volume, fees and trend: 5 minutes, 15 minutes, 30 minutes, 1 hour,
4 hours or 1 day. **Columns** hides or shows APR, Age, Fees, MCap, TVL, Trend and Volume.
Click a column header to sort by it. Click again to reverse.
## Filter the list
**Filters** opens a panel with a minimum and maximum for each figure, and choices for the pool itself.
- **Pool**: TVL, volume, fees, fee APR, pool age, protocol, type, base fee, tick spacing or bin step, dynamic fee and
whether it has a hook.
- **Token**: market cap, price change, token age, new listing, launchpad and real-world asset.
If the panel says no pool can pass, a minimum is above its maximum.
:::tip[A sensible first filter]
Set a minimum TVL and a minimum volume. Deep, busy pools give steadier fees and smaller price impact, which makes
them a better place to learn.
:::
## Zap from a row
The red **Zap** button on each row opens a position in one step with your default **Zap amount** and **Price range**
from [Settings](/terminal/settings). Pointing at it shows the amount it will use.
What happens after you press it depends on two settings:
- **Hold to zap**: when on, hold the button for a moment, so a stray tap starts nothing.
- **After a zap**: stay on the list, open the pool, or open it in a new tab.
A quick zap from the list skips the review step. If you want to see every detail before signing, open the pool and
use **Create position** instead, or read [Open a position](/positions/open-a-position) first.
## Open a pool
Click any row to open its [workstation](/terminal/pool-workstation), where you can study the pool in depth and choose
your own range and amount.
---
# Place limit orders
Source: https://docs.lpinvictus.com/terminal/limit-orders
A **limit order** waits until the price reaches a target you set, then trades. Use it to buy a dip or take profit
without watching the screen.
## Place an order
1. **Choose Buy or Sell**
**Buy** spends the quote token to get the base token when the price falls to your target. **Sell** sells the base
token when the price rises to it.
2. **Set the target**
Choose whether the target is a **Price** or a market cap (**MC**), and type it. A buy target must be below the
current price, a sell target above it; the panel tells you if it is the wrong way round.
3. **Type the amount**
Fill **You pay** (or **You sell**). The panel shows what you will receive at the target.
4. **Review and sign**
Press the button, read the review and press **Confirm and sign**. The order **rests in Orders until it fills**.
## Follow and cancel orders
Open **Activities**, then **Orders**, on the pool's workstation. Each order shows its target, how much has filled and
its status. Use **Cancel** to take an order off the book; what it had not spent goes **back to your wallet**.
Filled and cancelled orders move to **History**.
:::note
An order fills only if the market actually trades at your target. A target that is never reached never fills, and the
order stays open until you cancel it.
:::
---
# Read a pool in the workstation
Source: https://docs.lpinvictus.com/terminal/pool-workstation
Click any pool to open its **workstation**. Everything about that one pool is on a single screen, so you can decide
whether to provide liquidity and act without leaving it.
The workstation has four parts:
1. **The chart**, in the middle: the pool's price over time.
2. **The trade panel**, on the right: **Create position**, **Swap** and **Limit**.
3. **The pool panel**, on the left: **Overview**, **Token** and **Metrics**, with the security checks.
4. **Activities**, below the chart: your positions, orders and history in this pool.
## The chart
The chart shows the price of the base token in the quote token, as candles. While you create a position, your chosen
range is drawn over the chart, so you can see how often the price has stayed inside it.
A pool that holds no liquidity has no price to chart, and says so.
## The pool panel
### Overview
The pool's identity and its contracts: the protocol and version, the fee tier, the **tick spacing** or **bin step**
(how finely prices are divided), the **Pool ID** or address with a copy button, the **reserves** of each token and
**quick links** to the pool on a block explorer.
### Token
The base token itself, with its **Security** card. The checks come from **GoPlus**, an independent token-security
service, and are shown as they are answered:
| Check | What it asks |
| --- | --- |
| **Honeypot** | Can the token be bought but not sold? |
| **Mint auth** | Can someone still make more of the token? |
| **Freeze auth** / **Pause auth** | Can the owner stop one address, or every address, from moving it? |
| **Blacklist** | Can the owner stop an address from trading? |
| **Transfer fee** | Does every transfer take a fee? |
| **Transfer hook** | Does a program run on every transfer, which could stop it? |
| **Proxy** | Can the owner swap the code behind the token? |
| **Hidden owner** | Does an owner keep control after ownership looks given up? |
| **Balance auth** / **Metadata auth** | Can someone change what an address holds, or the token's details? |
| **Open source** | Is the contract's code published and verified? |
:::danger[A red check is a reason to stop]
A honeypot, a live mint authority or a freeze authority means someone else can trap or dilute your tokens. A clean
card is not a guarantee either: it only says what GoPlus could check. If GoPlus did not answer, the card says so.
:::
### Metrics
The pool's figures over time: price change, volume, fees, TVL and APR for each timeframe.
The bell icon in the pool panel sets an [alert](/terminal/alerts) on this pool: a price level, a price move, or a change
in fee APR, TVL, volume or liquidity.
## The trade panel
| Tab | Use it to | Guide |
| --- | --- | --- |
| **Create position** | Put tokens into this pool and start earning fees. | [Open a position](/positions/open-a-position) |
| **Swap** | Trade one token of the pair for the other, now. | [Swap](/terminal/swap) |
| **Limit** | Buy or sell at a price you choose, later. | [Limit orders](/terminal/limit-orders) |
## Activities
| Tab | What it lists |
| --- | --- |
| **Positions** | Your positions in this pool, with **In range**, **Near edge** or **Out of range**, and their actions. |
| **Orders** | Your open limit orders in this pool. |
| **History** | Everything you did in this pool: zaps, swaps, position actions and orders, with a link to each transaction. |
## Bin pools look slightly different
On a **DLMM** pool (Meteora DLMM, Ramses DLMM, PancakeSwap Infinity Bin), liquidity sits in separate price **bins**.
The trade panel adds a **Shape** picker and a **Bins** unit for the range. See [DLMM and bins](/concepts/dlmm).
---
# Track your portfolio
Source: https://docs.lpinvictus.com/terminal/portfolio
**Portfolio** answers three questions: what do I hold, how are my positions doing, and what have I earned. It covers
every wallet and every chain chosen in the chain selector.
## Summary
The state of your open positions, now.
- **Range health**: how many positions are **In range**, **Near edge** and **Out of range**.
- **Allocation**: where your value sits, by **Chain**, **Protocol** or **Token**.
- **PnL by pool**: profit and loss of each pool you are in, including fees.
- **Claim fees**: collects the fees of every position at once.
## Performance
How your closed positions turned out.
- **Realized PnL**: gains and losses of positions you closed, as a **Cumulative** line or **Daily** bars.
- **Win rate**: the share of closed positions that made money.
- **Returns** and **History**: each closed position with what it earned. Use **Load more** for older ones.
## Calendar
Each day as a square, coloured by its result, with **Fees**, **Realized** PnL and **Volume** for the day. Days follow
**UTC**, not your local time.
## Wallets
Your wallets, their tokens per chain, and the actions to receive, send and move funds. See
[Your wallets](/getting-started/your-wallets).
## Share a result
The share button makes an image card of your result for a period, ready to post. Turn on **Hide balances** first if you
want to share percentages without amounts.
## Why a figure says Not valued
A position or token shows **Not valued** when Invictus has no reliable price for it right now. It is left out of totals
rather than counted as zero, so the totals you see are never padded with guesses.
:::tip[Currency]
Portfolio values and share cards can be shown in another currency. Choose it under **Settings**, then **Display**, then
**Currency**. Other screens stay in US dollars.
:::
---
# Rewards
Source: https://docs.lpinvictus.com/terminal/rewards
**Rewards** gives back to people who use Invictus. You earn **points** as you trade and provide liquidity, points move
you up **tiers**, and tiers bring benefits such as cashback on fees.
:::note[Points are not money]
Points have no money value and are not a token. They decide your tier and your place on the leaderboard.
:::
## Profile
Your standing at a glance: your points, your tier and level, what you have earned, your claim and your referrals.
- **Claim**: cashback you have earned is claimed here. It is **paid on Solana**, so you need a Solana wallet to receive
it. A claim may show as pending until it is paid.
- **Referrals**: your referral link and code. Use **Edit code** to choose a code that is easy to share, then **Share
referral**. People who join through your link appear as **Direct** referrals, and people they bring as **Indirect**.
A new code takes effect at the next snapshot.
- **Quests**: tasks that earn extra points while they are open.
## Leaderboard
The top 100 accounts by points, listed under pseudonymous ids rather than names, with your own rank above them. Use
**Hide balances** at the top of Rewards if you do not want amounts on screen, for example while sharing it.
The ranking is updated at regular snapshots, so new points appear after the next one.
## Benefits
What each tier gives, including any reduction of the swap fee and the cashback rate, with your own tier marked.
---
# Settings
Source: https://docs.lpinvictus.com/terminal/settings
Open **Settings** from the account menu, or press the gear in the top bar for **Quick settings** and then **All
settings**. A change applies at once. **Reset every setting** returns everything to its default.
:::tip[If you are new, keep the defaults]
The defaults are chosen to be safe. Change a setting when you understand what it does and have a reason to.
:::
## Trading
When a trade should go through, and when it should stop.
| Setting | What it does |
| --- | --- |
| **Slippage** | How far the price may move during a deposit, zap or withdrawal before it is cancelled. **Auto** follows the token. |
| **Swap slippage** | The same for swaps. **Auto** follows the token, from 0.1% to 3%. |
| **Max swap loss** | The most a fallback route may give up compared with the best route. |
| **Abort on tick drift** | Stops a deposit if the price leaves its tick before the deposit lands. |
| **Price impact limit** | Stops a trade that would move the price more than this. |
| **Time limit** | Drops a transaction that is not confirmed in time. |
| **Hold to zap** | You hold the Zap button for a moment, so a stray tap starts nothing. |
| **After a zap** | Stay on the list (**Nothing**), **Open** the pool, or open it in a **New tab**. |
| **MEV protection** | Sends privately, out of reach of bots that trade ahead of you. |
| **Review before sending** | A last look at each workstation action before you sign. A quick zap from a list skips it. |
## Liquidity
Where a new position starts, how a zap behaves and how you leave.
| Setting | What it does |
| --- | --- |
| **Zap amount** | How much one zap deposits. |
| **Price range** | Where a new position sits around the price: a lower and an upper edge, in percent from the current price. |
| **Balance my deposit** | Swaps to the mix of tokens the pool needs, so you can deposit with one token. |
| **Withdraw as** | What you receive when you close: **Both** tokens, the **Native** token or a **Stablecoin**. |
## Gas
How fast your transactions confirm, and the most they may cost.
| Setting | What it does |
| --- | --- |
| **Speed** | **Standard**, **Fast** or **Turbo**. Pay more to confirm sooner. |
| **Fee limit** | Never pay more than this per transaction, or **None** for no limit. |
| **Gas reserve** | Always keeps enough of the gas token for your next transaction. |
| **Wrap automatically** | Converts ETH, SOL or BNB to its wrapped version when a pool needs it. |
## Alerts
What Invictus tells you about by default: out of range, near the edge, fees ready and transactions. See
[Alerts](/terminal/alerts).
## Sounds
**Play sounds** turns on a short sound when a trade ends or an alert arrives. You can pick a sound for each event, or
**None**.
## Network
Where addresses open and where your transactions are sent, chain by chain. Choose a **Chain**, then:
- **RPC**: the provider your transactions on that chain are sent through.
- **Block explorer**: the site where addresses and transactions on that chain open.
## Display
How the terminal looks and reads on this device.
| Setting | What it does |
| --- | --- |
| **Theme** | The panels and the accent colour of the whole terminal. |
| **Zap button** | Its size in pool lists. **Large** shows the amount; **Ultra** fills the column. |
| **Density** | **Comfortable** or **Compact**: how many rows a list fits on one screen. |
| **Currency** | The currency of your portfolio and share cards. Other values stay in US dollars. |
| **Language** | English for now. Translations come later. |
---
# Swap tokens
Source: https://docs.lpinvictus.com/terminal/swap
A **swap** trades one token for another right now, at the market price. Use it to get the tokens you need before
providing liquidity, or to take profit.
## Make a swap
1. **Open the pool and choose Swap**
The swap trades the two tokens of this pool. Use the arrow between them to flip the direction.
2. **Type the amount you pay**
Invictus finds the **Best route** and fills **You receive**. Your balance of the token is shown, so you can fill the
amount from it.
3. **Read the quote**
Check the figures below the amounts (see the next section). If something is over your limits, the button says
**Over your limits** and will not go further.
4. **Swap and confirm**
Press **Swap**. A review shows the transaction; press **Confirm and sign**. When it confirms, the result appears in
your notifications and in **Activities**, under **History**.
## Read the quote
| Figure | What it means |
| --- | --- |
| **You pay** / **You receive** | The amounts, at the quoted price. |
| **Best route** | The path Invictus picked. It may go through other pools when that gives you more. |
| **Price impact** | How much your own trade moves the price. Large trades in thin pools move it more. |
| **Least received** | The least you will get after your **slippage** tolerance. If the price moves further, the swap is cancelled and only the network fee is spent. |
| **Fees** | What the swap costs. Open the line to see the **Swap fee** (as a percent) and the **Network** cost paid to the chain. |
A quote is only good for a short time. When it expires, press **Refresh the quote**.
:::tip[Keep price impact small]
If the price impact looks high, swap a smaller amount, or use a pool with more TVL. See
[Slippage and price impact](/concepts/slippage-and-price-impact).
:::
## Limits that protect you
These live in **Settings**, under **Trading**, and apply to every swap:
- **Swap slippage**: how far the price may move before a swap is cancelled. **Auto** follows the token, from 0.1% to 3%.
- **Price impact limit**: stops a trade that would move the price more than this.
- **Max swap loss**: the most a fallback route may give up compared with the best one.
- **MEV protection**: sends your swap privately, out of reach of bots that trade ahead of you.
See [Settings](/terminal/settings) for all of them.