Practical guide for using Neutron’s DEX module
neutrond
command-line interface using positional arguments.
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”)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 tiersreceiver
- 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)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 ordersneutrond tx dex --help
and neutrond query dex --help
.