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

Add Gas Fee Estimation #144

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pages/dev-gas.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ The maximum amount of gas the user wants the transaction to use. If the gas limi
### Fee
`Fee = Gas Price * Gas Limit`.

To optimize your gas fee setup you can use a third-party API provided by Blocknative. Please follow the documentation [here](https://docs.blocknative.com/gas-prediction/gas-platform) to get set up.

### Maximum Gas

The maximum gas limit for a transaction ensures that complex transactions do not consume excessive resources. You can find the maximum gas limits for each chain in the [Sei chain registry](https://github.com/sei-protocol/chain-registry/blob/main/gas.json) or by querying the `/consensus_params` of the RPC node itself (ex. https://rpc.pacific-1.sei.io/consensus_params).
Expand Down
Loading