web-sdk
web-sdk copied to clipboard
Set Gas fee, "FeeTooLow, EffectivePriorityFeePerGas too low 416666660 < 1000000000, BaseFee: 7" error when calling transactions
Hi,
I am trying to call a payable function in my solidity contract. The contract allows for msg.value to be 0 or greater, but Portis wallet throws an error saying "FeeTooLow, EffectivePriorityFeePerGas too low 416666660 < 1000000000, BaseFee: 7" when calling the function.
but the transaction is successful if I send 1 or more SPOA in msg.value. May I know how to send successful transaction even with 0 msg.value?
Portis wallet shows calculated gas fee.
is there a way to set gas fee to be high enough for the transaction to go through successfully in portis?