Skip to main content

Market Data

The market group is the read-only entry point for pairs, quotes, routes, and maker metadata.

Quote examples

Important quote options:
  • --from-amount or --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

Use swap atomic when the maker side is remote but execution uses your local node as taker.

Subcommands

Example

You can also provide:
  • --taker-pubkey
  • --yes
  • explicit --from-layer and --to-layer

Local Node Swap Flow

Use node 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:
Always quote it on the command line so the shell leaves it intact. See Troubleshooting for what the validation errors mean.

Browse the market (no node required)

Executing a swap requires a local RLN node — use the atomic flow below.

With a local node

Use Command Reference for the complete command map.