Hot answers tagged

2

You should have your ABI in JSON format (list or dictionary), not as string


1

ERC721Enumerable inherits ERC721 and ERC721 inherits ERC165. So this below article may help you. https://medium.com/@chiqing/ethereum-standard-erc165-explained-63b54ca0d273 Let me know if this works for you. If not then will look for some other solution.


1

From the trace of the transaction you can see it calls CALLVALUE before calling REVERT. [46] 1235 CALLVALUE 777090 2 1 [47] 1236 DUP1 777088 3 1 [48] 1237 ISZERO 777085 3 1 [49] 1238 PUSH2 777082 3 1 [50] 1241 JUMPI 777079 10 1 [51] 1242 PUSH1 777069 3 1 [52] 1244 DUP1 ...


1

You need await your own async functions const s = await supply()


1

myContract.methods.methodName().call(transactionObject, blockNumber, callback) No, it is not the way to do it. The block number in RPC methods is meant for historic purposes only, not to execute functions in the future. What you need to do is to monitor the network, and when the block_number-1 will be announced, send your transaction expecting that on the ...


1

insufficient input amount means the router contract didn't receive the expected amount of your inbound token (WETH) do you have enough eth in your calling address to support the call?


Only top voted, non community-wiki answers of a minimum length are eligible