web3swift
web3swift copied to clipboard
use erc721 safeTransferFrom will crash
ERC721 public func safeTransferFrom(from: EthereumAddress, to: EthereumAddress, originalOwner: EthereumAddress, tokenId: BigUInt)
will crash .
Because the parameters count is 3 but the function.inputs. Count is 4
guard parameters.count == function.inputs.count else {return nil}
Tx is nil but you use it!
I am facing the same issue on the latest version. How did you resolve this?