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

    Interface FeeAmount

    FeeAmount is a wrapper around a number that represents a fee amount in satoshis floating point.

    The fee amount in floating point.

    satoshis - Returns the fee amount in satoshis as a integer.

    const fee = new FeeAmount(1.23456789);
    console.log(fee.value); // 1.23456789
    console.log(fee.satoshis); // 2
    interface FeeAmount {
        value: number;
        get satoshis(): number;
        add(other: FeeAmount): FeeAmount;
    }
    Index

    Properties

    Accessors

    Methods

    Properties

    value: number

    Accessors

    Methods