You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agent-sdk/cli-reference.md
+97Lines changed: 97 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,103 @@ Use `--quote-only` to preview without executing.
152
152
153
153
---
154
154
155
+
## onramp
156
+
157
+
Buy crypto with fiat (onramp) or sell crypto for fiat (offramp) through third-party providers. Quotes are aggregated; the user completes KYC and payment in the provider's hosted browser flow. Available providers depend on the user's region.
158
+
159
+
### onramp quote
160
+
161
+
Get fiat-to-crypto quotes from multiple providers.
|`--quote-id`| Quote ID from `twak onramp sell-quote`|
224
+
|`--asset`| Crypto asset ID — required when `--wallet` is omitted (used to derive your source address) |
225
+
|`--wallet`| Override the source address |
226
+
227
+
### onramp sell-confirm
228
+
229
+
Broadcast the on-chain payout to the provider's deposit address. Run this **after** completing KYC in the browser and copying the deposit address and exact amount the provider displayed.
|`--to`| Provider's deposit address (shown after KYC) |
242
+
|`--amount`| Exact amount the provider displays — must match |
243
+
|`--memo`| Memo / destination tag (Cosmos, XRP, Stellar, BNB Beacon) — funds can be unrecoverable without it when the chain requires one |
244
+
|`--quote-id`| Optional. Recorded in the output for traceability; the on-chain tx is built from `--to` / `--amount`, not from this ID |
245
+
|`--max-usd`| USD safety cap (default: 10000) |
246
+
|`--skip-safety-check`| Bypass the USD cap |
247
+
248
+
The deposit address is **not under your control** — verify it byte-for-byte against what the provider displayed before broadcasting. Signing always happens locally; the browser flow has no access to your keys.
0 commit comments