New answers tagged

0 votes

TypeError: Cannot read properties of undefined (reading 'JsonRpcProvider')

This worked for me step 1: open the terminal yarn add ganache yarn run ganache step 2: Keep the ganche running and OPEN a NEW TERMINAL node deploy.js
Rishu Kumar's user avatar
1 vote

How to broadcast a transaction directly to a centralised sequencer (Arbitrum/Optimism/others)

You can send transactions directly to the sequencer by using their RPC url. These RPC only support eth_sendRawTransaction (or eth_sendRawTransactionConditional), so for example you can't use them to ...
0xSanson's user avatar
  • 3,154
1 vote

TypeError: Cannot read properties of undefined (reading 'JsonRpcProvider')

With ethers@v5 const provider = new ethers.providers.JsonRpcProvider(RPC_URL); With ethers@v6 const provider = new ethers.JsonRpcProvider(RPC_URL);
0xcuonghx's user avatar
  • 166
0 votes

Is there a way to find an account's current transaction nonce?

You can find out your transaction nonce through the help of Bitquery APIs. Please find the js console implementation for the same below
George Mathew's user avatar
0 votes

`eth_estimateGas` with `stateDiff` on a counterfactual smart contract

In the safe-wallet web UI we do something similar: This estimation is done by calling eth_estimateGas with a MultiSendCallOnly batch transaction that Calls the SafeProxyFactory to deploy the ...
Daniel Dimitrov's user avatar

Top 50 recent answers are included