@arkade-os/sdk Documentation - v0.5.0-rc.11
    Preparing search index...

    Class BIP21

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Integer-sats amount encoded in a BIP21 URI (amount= is BTC), or undefined when absent or the URI is unparseable. Shared by the payment rails, which accept either a bare address or a BIP21 URI.

      Parameters

      • uri: string

        BIP21 URI (or bare address) to read the amount from

      Returns number | undefined

      The amount in satoshis, or undefined