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

    Class PaymentRouter

    Registry-based payment router. Holds id-keyed PaymentRail entries (mirroring ActivityRegistry): use() overwrites by id, remove() deletes. It operates on a PaymentRequest (raw target + optional amount) — rails self-extract their target via the shared helpers, and available() gates on the amount. options() returns every matching+available rail ranked by preferences; route() is the "take the top" convenience.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Remove a rail by id.

      Parameters

      • id: string

      Returns this