@cashlab/common
    Preparing search index...

    Type Alias CreatePayoutTxContext

    A context to create a payout. The functions uses the txfee_per_byte to calculate & pay the transaction fee. The min bch amount, Requires the change to contain at least the min amount. The non-mixed token payouts will use the preferred bch amount or the min amount as the bch amount of its output.

    type CreatePayoutTxContext = {
        txfee_per_byte: Fraction | bigint;
        getOutputMinAmount(output: Output): bigint;
        getPreferredTokenOutputBCHAmount(output: Output): null | bigint;
    }
    Index

    Properties

    txfee_per_byte: Fraction | bigint

    Methods