Type alias BitcoinTransactionWithChange

BitcoinTransactionWithChange: BitcoinTransactionNoChange & {
    changeAddress: string;
    changeIndex: number;
    changeValue: number;
}

A bitcoin transaction that creates a change output.

Type declaration

  • changeAddress: string

    The address used for the change output

  • changeIndex: number

    The index of the change output in the transaction

  • changeValue: number

    The value of the change output in satoshis