Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to ask a question!!!! #1

Open
LokMon opened this issue Feb 7, 2022 · 3 comments
Open

I want to ask a question!!!! #1

LokMon opened this issue Feb 7, 2022 · 3 comments

Comments

@LokMon
Copy link

LokMon commented Feb 7, 2022

What is the estimated gas fee for 100 times on the mainnet?

@GGCCCC
Copy link
Owner

GGCCCC commented Feb 7, 2022

What is the estimated gas fee for 100 times on the mainnet?

I did it on the testnet just now: https://goerli.etherscan.io/tx/0x4d6104f265348f9a160d1204f1fd9dd07c061a063bf562b5565991bc0851bbf8
it costs 9690299 gas.
As for mainnet, you can use “cost = gas*gasPrice” to calculate or look up to this address as a reference: 0x7191a185b43e4d55c53cec0f32670e3b2590bfbd

@LokMon
Copy link
Author

LokMon commented Feb 7, 2022

Do I need to set the gaslimit manually?

@GGCCCC
Copy link
Owner

GGCCCC commented Feb 7, 2022

Do I need to set the gaslimit manually?

you can set it mannally or use estimateGas rpc endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants