Skip to content

formatAmount

formatAmount(value, options?): string | null

Defined in: amount.ts:21

Format an amount for the wire. Returns null for static QR (caller intends a “scan and enter any amount” code).

number | bigint | null | undefined

FormatAmountOptions = {}

string | null