New answers tagged

1

The confirmation timestamp that you see on etherscan is the time when your transaction was mined, not received by the miner. Have a look at all the transactions within a block. You will notice that they all have the same timestamp. So, your transaction is most likely received by other nodes milliseconds after being broadcasted. However, it is mined only 5 ...


1

Maybe you could try to reset your account. In this case: MetaMask settings -> Advanced -> Reset Account.


0

Try: web3 = new Web3(new Web3.providers.WebsocketProvider('http://192.168.1.29:8545')); you will need to use WebsocketProvider in order to subscribe to an event if you are using version web3.js@1.x


2

The docs you're looking for can be found on the Metamask site: https://docs.metamask.io/guide/rpc-api.html#table-of-contents The RPC call you're looking for is indeed wallet_addEthereumChain(), which you've tried. The restriction you're hitting is by design: according to the docs the call won't work... "If the chain ID corresponds to any default ...


1

In my case, I solved this by increasing the gas price. Please let me know if that works.


Top 50 recent answers are included