Creates and signs a simple BTC transfer (funding) transaction.
TransactionFactory
Overview
The full source code is available on GitHub at TransactionFactory.ts.
Import
import { TransactionFactory } from '@btc-vision/transaction';Instance Methods
Signature
public async createBTCTransfer(parameters: IFundingTransactionParameters,): Promise<BitcoinTransferResponse>Description
Returns
| Type | Description |
|---|---|
| Promise<BitcoinTransferResponse> | A BitcoinTransferResponse object. |