Group two ETH transactions into one and send it to MEV -- 2

Job ID: 33857420

Budget: $30 – $250 USD

I'm using third party SDK method and completing the transaction successfully. I'm trying to do the same function twice within a single ETH transaction. It's impossible with SDK method. I tried to deploy my own smart contract by using this function, but it doesn't have function's/smart contract's ABI. ETH transactions have to be processed within 1 transaction and sent directly to miners using MEV. The second function depends on the first one. I'm looking for someone who can develop a solution for this problem.
Related categories: Node.js Ethereum Solidity Smart Contracts Web3.js