ERC20 and BEP20 gas estimate

Hi,
Is there any simple Moralis API to receive the estimated gas fee for the ERC20&BEP20 transaction?
Or
The response is the gas limit of each contract address?
Tnx…

there isn’t a gas estimation function in Moralis SDK, you could do that using a RPC node, you may also be able to do it with web3