Created
November 30, 2020 08:07
-
-
Save saltyskip/63cc33924db177437146856d0ca2a45a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let txTrust = BcomBlockchainTransactionBuilder(signingWallet: pr.selectedWallet!.masterWallet!, chainAssetProtocol: .bch, amount: 0.00001547, assetId: "bch", destination: pr.toAddress!) | |
.buildBitcoinCash(utxos: utxos, satsPerByteFee: 1, changeAddress: pr.toAddress!) { baseResult in | |
baseResult.buildSlp() { slpResult in | |
slpResult | |
.withSLPUtxos() | |
.withSpentSLPUtxos() | |
} | |
.withSpentUtxos() | |
.withChangeUtxos() | |
} | |
.build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment