Skip to main content

Questions tagged [gas-estimate]

0 votes
0 answers
10 views

I’m building a high-throughput minting system for NFTs on Polygon using a NestJS In normal mode, minting is sequential and stable. In burst mode, I need to mint ~10,000 NFTs at once (each mint is a ...
Manav Jain's user avatar
1 vote
0 answers
35 views

I read the documentation and it mainly uses the eth_basefee API to obtain it, but this method has delays and the prediction is not accurate. Does anyone know how to calculate the base fee using a ...
Pearson's user avatar
  • 21
0 votes
1 answer
69 views

For example ecrecover has a constant gas of 3000 units, and a precompile for secp256r1 signature verification takes up a constant gas fee of 3450 gas units. The RIP7212 states : The gas cost is ...
Zartaj Afser's user avatar
  • 4,293
0 votes
2 answers
86 views

I am going to estimate gas in uniswap v2. Before executing transaction , I need to decide how much ETH cost in this transaction. Please help me.
Willam Oliver's user avatar
1 vote
0 answers
26 views

I want add access list EIP-2930 to my tests in foundry forge. How can I do it? Is it possible?
Иван Король's user avatar
1 vote
0 answers
31 views

I'm using Uniswap V3 to quoteSingleInput of how many token1 I get for token1. WETH/ARB in this case, both having 18 decimals. I've asked ChatGPT how I do it, and it keeps trying to get me to get the ...
David Luke's user avatar
1 vote
1 answer
86 views

I have started a local blockchain using anvil and deployed the following simple contract to it using forge create: // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; contract Wrong { uint256 ...
jeffy's user avatar
  • 13
0 votes
2 answers
74 views

I wrote the following index fund contract and deployed it on Arbitrum. When trying to call the mint function, I have insanely high gas fees ($100,000 for a call). I know that my function is a bit ...
0xrm1's user avatar
  • 1
0 votes
2 answers
66 views

Why is there a buffer added into callGasLimit, verificationGasLimit and preVerificationGas in the PimlicoFeeEstimator in the relay-kit ? What's the reasoning? https://github.com/safe-global/safe-core-...
S_C's user avatar
  • 62
0 votes
0 answers
59 views

pragma solidity ^0.8.20; import "./Errors.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus....
shreyash1611peep's user avatar
0 votes
1 answer
141 views

I'm developing smart wallet based application using ERC-4337 v0.6 . I'm trying to dynamically get the gas values of a user operation. Currently I'm using Stackup's bundler for sending user operations ....
Gaurav Pant's user avatar
0 votes
0 answers
89 views

Here is my code, would you please verify what causes the problem for deployment on Remix (only on the eth mainnet)? Returned error: gas required exceeds allowance (448144) // SPDX-License-Identifier: ...
Morty's user avatar
  • 3
0 votes
1 answer
68 views

We were not able to estimate gas. There might be an error in the contract and this transaction may fail Keep getting this error when I am trying to deposit to my contract that is using Chainlink ...
eik's user avatar
  • 3
0 votes
2 answers
674 views

how to verify the minimum gas fee for deploying a contract on the mainnet? my contract creation failed in Remix IDE, I choosed estimated gas fee and the process were not successfully finished, is it ...
Morty's user avatar
  • 3
0 votes
1 answer
303 views

Ethereum community! I'm currently working on developing a smart contract for a decentralized application (dApp) on the Ethereum blockchain. I'm concerned about optimizing gas usage to enhance ...
Ian Park's user avatar

15 30 50 per page
1
2 3 4 5
24