await this.solanaConnection.sendTransaction(createMetadataTransaction, {
preflightCommitment: "finalized",
});
const preSendHash = bs58.encode(tx.signatures[0]);
this.monitoredTransactions.push([preSendHash, receiver, amount, new Date()])
const txHash = await this.solanaConnection.sendTransaction(tx, {
preflightCommitment: "finalized",
});
this.activeOrders[orderId].completed = true;
this.monitoredTransactions = this.monitoredTransactions.filter((tx) => tx[0] !== txHash)
this.solanaConnection.getTransaction("33ksVQ7u9w23WTxXzPzMmQPuKYC6Z5dxjRZ2m92kFcrqDmWWacLeyho9WPNkihqpBcjj7PeKLH7Vj1HpRYzdLsZi", {
commitment: "finalized",
maxSupportedTransactionVersion: 2,
}).then((tx) => {
if (!tx) startRecovery()
})