Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Insufficient funds for gas*price+value error

Tags:

ethereum

While deploying contract on blockchain, on adding transaction it gives error insufficient funds for

gas *price +value

What is that mean?

like image 572
jatin agarwal Avatar asked Mar 23 '17 08:03

jatin agarwal


3 Answers

in https://dashboard.alchemyapi.io/ go to :

enter image description here

  1. Apps
  2. select your app
  3. Edit App
  4. select chain Ethereum
  5. select network Ropsten

make sure to change the network on Meta Mask from Main Net to Ropstn Test Network. enter image description here

Make sure to have balance in Ropsten network, you can use this url to transfer some Ether to your wallet https://faucet.ropsten.be/

that set.

like image 99
bara batta Avatar answered Oct 18 '22 20:10

bara batta


Value is the amount of Ether set to be transferred with the transaction. E.g. "Send 10 ETH to Contract X."

Gas is the transaction verification fee; basically units of network computing required to execute the transaction. E.g. "30,000 gas estimate".

Price is the bid for Gas, priced in Ether. E.g. "0.0001 ETH/gas". While the gas requirement depends on the complexity of the transaction, the bid for gas is under the sender's control, with higher gas bids incentivizing miners to prioritize the transaction.

Altogether, something like "Send 10ETH to the contract with 30,000 gas in processing at 0.0001 ETH/gas" = total transaction funding required, and it exceeds the sending account balance. Meaning, insufficient funds.

Hope it helps.

like image 31
Rob Hitchens Avatar answered Oct 18 '22 18:10

Rob Hitchens


If you are a Chainlink node operator, to fix this error you will need to fund your oracle account OR the oracle contract.

The oracle contract is what you "deploy" in remix. The oracle account is the page you can log into. See here for more info.

If you are a contract creator, the node operator you are trying to hit may have insufficient ETH in their address, or your contract is not funded properly.

See the example walkthrough for more information on hitting a node.

like image 31
Patrick Collins Avatar answered Oct 18 '22 19:10

Patrick Collins