Hi,
I am using:
- lastest SDK from package manager
- Unity 2023.2.9f1
- My own contract on BNB Smart Chain Testnet (0xF8307FEAdc932cC3b494efdF5C41CE42a2d3Cfc9)
- RPC node: https://data-seed-prebsc-1-s1.bnbchain.org:8545 (also tried my own on chainstack https://nd-020-128-035.p2pify.com/f93e27a02267540bdd9062a477cf1b34 )
I have everything setup for my project, metamask login working fine, contract read methods working fine, but contract write methods throw error shown in the post title .... its actually the eth_estimateGas function called under the hood by the Contract.Send() method and it is not for some reason able to get the gas estimate ... tried another RPC node, same result.
It doesnt provide any additional info about what causes the revert. I have found some info that you could need approval for transactions, but not sure if it could be realted and how to approve it.
Found some info regarding EVM.CreateApproveTransaction() in the old SDK docs but seems its not available in the current version.
Any help is highly appreciated.
