docs: restore manual slippage examples

Co-authored-by: deepfeature <1503768+deepfeature@users.noreply.github.com>
Agent-Logs-Url: https://github.com/GMGNAI/gmgn-skills/sessions/ae308c31-cf9d-4707-8848-a659112b33f4
This commit is contained in:
copilot-swe-agent[bot]
2026-03-26 08:13:41 +00:00
parent 2ca2c24f9e
commit c9b3034cf2
3 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ npx gmgn-cli swap \
--input-token <input-token-addr> \
--output-token <output-token-addr> \
--amount 1000000 \
--auto-slippage
--slippage 0.01
# Query order
npx gmgn-cli order get --chain sol --order-id <order-id>
+1 -1
View File
@@ -295,7 +295,7 @@ npx gmgn-cli swap \
--input-token <input-token-addr> \
--output-token <output-token-addr> \
--amount 1000000 \
--auto-slippage
--slippage 0.01
# 查询订单
npx gmgn-cli order get --chain sol --order-id <order-id>
+9
View File
@@ -67,6 +67,15 @@ gmgn-cli swap \
--amount <input_amount_smallest_unit>
# With slippage
gmgn-cli swap \
--chain sol \
--from <wallet_address> \
--input-token <input_token_address> \
--output-token <output_token_address> \
--amount 1000000 \
--slippage 0.01
# With automatic slippage
gmgn-cli swap \
--chain sol \
--from <wallet_address> \