Can i use Web3API in moralis cloud function?

I want do some logic in server, can I use Web3API in moralis Cloud Function? Or I need to deploy anthoer server for logic to link to Moralis server?

Yes, you can use web3api in the moralis cloud code with same syntax.

thanks , and how about moralis SDK?

can I use this syntax in CloudFunction?

Yes, That works too. You can add the same code in cloud code to fetch the transactions.