Market Data
Themarket group is the read-only entry point for pairs, quotes, routes, and maker metadata.
Quote examples
--from-amountor--to-amount— exactly one of the two, since a quote is anchored on one side only--from-layer--to-layer
Amounts here are display units.
--from-amount 0.001 means 0.001 BTC, not 1000 sat. The raw integer amounts described in Wallet, Assets, And Payments apply to asset and payment commands, not to quotes and swaps.Layer values
The accepted set depends on the command:
Both options are optional: when omitted, the layers are derived from the requested pair direction.
Swap Scopes
Swaps are split across two command groups:Atomic Swap Flow
Useswap atomic when the maker side is remote but execution uses your local node as taker.
Subcommands
Example
--taker-pubkey--yes- explicit
--from-layerand--to-layer
Local Node Swap Flow
Usenode swap for low-level RLN swap steps (these live under the node command group):
This path is useful for debugging, demos, and lower-level protocol operations where you want each step exposed separately.
A swapstring carries six slash-separated fields, and the CLI validates them before whitelisting: