I'm currently using the solana/web3.js and raydium-sdk library to perform swap with tokens. Everything seems to be working fine, however, I after sending my transaction with the sendTransaction function:
async sendVersionedTransaction(tx: VersionedTransaction) {
const txid = await this.connection.sendTransaction(tx, {
skipPreflight: true,
});
return txid;
}
I often have a transaction with no data like this: https://solscan.io/tx/5tRonjzQzaxB67Hr4ZpYEQbiK9Uzfcjir66cC4tbACoeU6yBoenb1wDHdDepU5GpQ6cBKCHkJUrCCiHRxUG1D7aq
I can't tell when or why it is happening since it can be random at times. Anybody knows why ?