You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally speaking ALL transactions need a value, even if not payable. So if the transaction has no value, set value to 0. The requirement for it to be set in options is there because value is a required field for a transaction on the chain.
https://github.com/skywinder/web3swift#send-erc-20-token
When send ERC-20 Token not needed line - "options.value = amount" because method "transfer" in erc20ABI is not "payable"
The text was updated successfully, but these errors were encountered: