How to do a transaction with data on non-evm chains?

I have a platform in which I am creating a platform based swap system. I have about 10 different chains and need to do swap on all.

I have used bridgers for my swap, and the code is something like this:

    const txParams = {
      to,
      from: user?.walletAddress,
      data,
      value,
    };
    const transaction = await this.fireblocksSdkService.sendTransaction(
      user?.walletId?.toString()!,
      txParams,
    );
async sendTransaction(vaultId: string, params: any) {
try {const { signer } = await this.getFireBlockProvider(vaultId);
const transaction = await signer.sendTransaction(params);
return transaction; 
} catch (error) {   
console.error('Error sending transaction:', error.response?.data || error.message);   
throw new Error(`Error sending transaction: ${error.response?.data?.message || error.message}`,   ); } }

But I think this won’t work when talking about XRP, LTC or any other non-EVM chains. How can I perform a transaction in multiple blockchains?