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
  • --from-layer
  • --to-layer
Supported layer values include BTC_LN, RGB_LN, and BTC_ONCHAIN for market quotes.

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.

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.