BtcTransactionFromUTXO
Model getters
Method name | Return type | Description | Notes |
---|---|---|---|
getFromUtxo() | \Tatum\Model\BtcTransactionFromUTXOSource[] | The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses Example: null | |
getTo() | \Tatum\Model\BtcTransactionFromUTXOTarget[] | The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BTC). The difference between the UTXOs calculated in the fromUTXO section and the total amount to receive calculated in the to section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee and changeAddress parameters. Example: null | |
getFee() | string | The fee to be paid for the transaction (in BTC); if you are using this parameter, you have to also use the changeAddress parameter because these two parameters only work together. Example: 0.0015 | [optional] |
getChangeAddress() | string | The blockchain address to send any extra assets remaining after covering the fee; if you are using this parameter, you have to also use the fee parameter because these two parameters only work together. Example: 2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7 | [optional] |