@arkade-os/sdk Documentation - v0.4.54
    Preparing search index...

    Function createDefaultPaymentRouter

    • Default payment router with the Wallet-only rails: ark (off-chain send) and onchain (collaborative exit). Lightning and chain-swap rails live in @arkade-os/boltz-swap, which ships a createDefaultPaymentRouter(wallet, swaps) overload composing the full set.

      The default priority is ["ark", "lightning", "onchain"] — the wallet's Ark > Lightning > on-chain ladder. "lightning" is listed so it ranks correctly once the boltz rail is added; it is simply absent here.

      Parameters

      Returns PaymentRouter