BchTransaction
Model getters
Method name | Return type | Description | Notes |
---|---|---|---|
getFromUtxo() | \Tatum\Model\AdaTransactionFromUTXOFromUTXOInner[] | The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses Example: null | |
getTo() | \Tatum\Model\BchTransactionToInner[] | The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BCH). 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 BCH); 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 remaning 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: bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzez | [optional] |