Market Data
Themarket group is the read-only entry point for pairs, quotes, routes, and maker metadata.
| Command | Purpose |
|---|---|
kaleido market assets | List tradeable assets |
kaleido market pairs | List trading pairs |
kaleido market quote <pair> | Request a quote |
kaleido market info | Show maker node information |
kaleido market routes <pair> | List route options |
kaleido market analytics | Show maker-side order analytics |
Quote examples
--from-amountor--to-amount--from-layer--to-layer
BTC_LN, RGB_LN, and BTC_ONCHAIN for market quotes.
Three Swap Scopes
Theswap group is split by execution model:
| Scope | Use case |
|---|---|
swap order | Create and track maker swap orders through the KaleidoSwap server |
swap atomic | Run maker-backed atomic swaps using your local node as taker |
swap node | Drive low-level local RLN swap steps directly |
Maker Order Flow
Use this flow when you want server-managed swap orders.Subcommands
| Command | Purpose |
|---|---|
kaleido swap order create <pair> | Create an order from a live quote |
kaleido swap order decide <order-id> | Submit a pending rate decision |
kaleido swap order status <order-id> | Check order status |
kaleido swap order history | List historical orders |
Example
--from-amountor--to-amount--from-layer--to-layer--receiver-address--receiver-format--min-onchain-conf--refund-address--email
Atomic Swap Flow
Useswap atomic when the maker side is remote but execution uses your local node as taker.
Subcommands
| Command | Purpose |
|---|---|
kaleido swap atomic init <pair> | Initialize the atomic swap |
kaleido swap atomic execute | Execute the initialized swap |
kaleido swap atomic status <payment-hash> | Track atomic swap status |
kaleido swap atomic run <pair> | Run init, whitelist, and execute in one command |
Example
--taker-pubkey--yes- explicit
--from-layerand--to-layer
Local Node Swap Flow
Useswap node for low-level RLN swap steps:
| Command | Purpose |
|---|---|
kaleido swap node init | Start a local maker-init swap flow |
kaleido swap node whitelist | Whitelist the swap on the taker side |
kaleido swap node execute | Execute after whitelisting |
kaleido swap node status <payment-hash> | Inspect status |
kaleido swap node list | List swaps known to the node |