Skip to main content

singleSendStep3

cat-sdk v1.0.3


cat-sdk / singleSendStep3

Function: singleSendStep3()

singleSendStep3(provider, finalizedGuardPsbt, finalizedSendPsbt, outputTokenStates): Promise\<{ newCAT20Utxos: ExtUtxo[]; newFeeUtxo: UTXO; }>

Defined in: packages/cat-sdk/src/features/cat20/send/singleSend.ts:357

Helper function for singleSend, broadcast the transactions and add the new fee UTXO

Parameters​

provider​

UtxoProvider & ChainProvider

the provider for the blockchain and UTXO operations

finalizedGuardPsbt​

ExtPsbt

the finalized guard psbt

finalizedSendPsbt​

ExtPsbt

the finalized send psbt

outputTokenStates​

CAT20State[]

the output token states

Returns​

Promise\<{ newCAT20Utxos: ExtUtxo[]; newFeeUtxo: UTXO; }>

the new CAT20 UTXOs and the new fee UTXO