Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TransferBtcBasedBlockchain

Transfer BTC based blockchain.

This class is used for transferring assets of all BTC based blockchains.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

Properties

Optional fromAddress

fromAddress: FromAddress[]

Array of addresses and corresponding private keys. Tatum will automatically scan last 100 transactions for each address and will use all of the unspent values. We advise to use this option if you have 1 address per 1 transaction only.

Optional fromUTXO

fromUTXO: FromUTXO[]

Array of transaction hashes, index of UTXO in it and corresponding private keys. Use this option if you want to calculate amount to send manually. Either fromUTXO or fromAddress must be present.

to

to: To[]

Array of addresses and values to send bitcoins to. Values must be set in BTC. Difference between from and to is transaction fee.

Generated using TypeDoc