User Interfaces
Neutron App (Web Interface)
The primary web interface is available at app.neutron.orgOrderbook Interface
Access the orderbook at app.neutron.org/orderbook Features:- Live Price Chart: The charting technology is provided by TradingView, a platform for traders and investors. It offers advanced charting tools so that you can plan your trade with the context of your own saved notes and measurements, and other features such as major upcoming events in the TradingView economic calendar
- Order Book Table: Real-time liquidity depth and price levels
- Recent Trades: Live trade feed with transaction links
- Order Form: Interface for placing limit and market orders
- Order History: Track your active and completed orders
- Use the pair selector to choose from available trading pairs
- View pair summary with recent activity metrics
- Access price history and volume data
- Limit Orders: Specify exact price and expiration (optional)
- Market Orders: Execute immediately with slippage protection
- Order Types: Choose from GTC, GTT, FOK, IOC based on your strategy
- Simulation: Preview trade outcomes before execution
- Active Orders: Monitor open positions in the Trades tab
- Order History: Review completed trades
- Withdraw/Cancel: Manage filled or active orders
Bridge Interface
Access the bridge at app.neutron.org/bridge- Transfer tokens from other chains to Neutron
- View current token balances on Neutron
- Withdraw tokens back to origin chains
- Support for major IBC-enabled chains
CLI Interface
All DEX functionality is available through theneutrond
command-line interface using positional arguments.
Adding Liquidity
Basic Single-Tick Deposit
receiver
- Address to receive the liquidity positiontoken-a
- First token denominationtoken-b
- Second token denominationamounts-a
- Comma-separated amounts of token A (e.g., “1000000,500000”)amounts-b
- Comma-separated amounts of token B (e.g., “1000000,500000”)tick-indexes
- Comma-separated tick indexes (e.g., “0,-100,100”)fees
- Comma-separated fee tiers (e.g., “3000,3000,3000”)disable-autoswap
- Comma-separated boolean values (e.g., “false,false,false”)fail-tx-on-bel
- Comma-separated boolean values (e.g., “false,false,false”)
Multi-Tick Liquidity Strategy
Removing Liquidity
Basic Withdrawal
receiver
- Address to receive withdrawn tokenstoken-a
- First token denominationtoken-b
- Second token denominationshares-to-remove
- Comma-separated share amounts to removetick-indexes-a-to-b
- Comma-separated tick indexesfees
- Comma-separated fee tiers
Trading
Multi-Hop Swap
receiver
- Address to receive output tokensroutes
- Semicolon-separated routes, each route is comma-separated tokensamount-in
- Amount of input tokensexit-limit-price
- Minimum acceptable output pricepick-best-route
- Whether to pick the best route (true/false)
Place Limit Order
receiver
- Address to receive proceedstoken-in
- Token being soldtoken-out
- Token being boughttick-index
- Price tick for the orderamount-in
- Amount of input tokenorder-type
- Order type (GOOD_TIL_CANCELLED, GOOD_TIL_TIME, FILL_OR_KILL, IMMEDIATE_OR_CANCEL, JUST_IN_TIME)expiration-time
- (Optional) Expiration time for GTT orders
Order Management
Cancel Limit Order
Withdraw Filled Limit Order
Querying DEX State
Pool Information
List All Pool Metadata
Get Pool by ID
Get Pool by Parameters
Check Pool Reserves
List All Pool Reserves for Pair
User Positions
Check Your Liquidity Positions
Check Your Limit Orders
Get Specific Limit Order Tranche User
Market Data
View Tick Liquidity
List Limit Order Tranches
Get Specific Limit Order Tranche
Simulation and Testing
Use simulation queries to preview operations before executing them.Simulate Deposit
Use the simulate-deposit endpoint with a JSON message body containing the same parameters as the deposit transaction.Simulate Withdrawal
Use the simulate-withdrawal endpoint with a JSON message body containing the same parameters as the withdrawal transaction.Simulate Multi-Hop Swap
Use the simulate-multi-hop-swap endpoint with a JSON message body containing the same parameters as the swap transaction.Simulate Limit Order
Use the simulate-place-limit-order endpoint with a JSON message body containing the same parameters as the place limit order transaction.Best Practices
For Liquidity Providers
- Fee Tier Selection: Choose appropriate fee tiers based on pair volatility
- Position Management: Regularly monitor and rebalance positions
- Risk Assessment: Understand impermanent loss implications
For Traders
- Order Type Selection: Choose the right order type for your strategy
- Price Protection: Always set reasonable exit limit prices
- Gas Optimization: Consider transaction costs vs. trade size
General
- Testing: Always use simulation endpoints before executing transactions
- Validation: Verify all parameters before submitting transactions
- Monitoring: Track your positions and orders regularly
neutrond tx dex --help
and neutrond query dex --help
.