Skip to content

Commit

Permalink
Update dev-gas.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
aseoconnor authored Nov 13, 2024
1 parent d8943fa commit ce43e5f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pages/dev-gas.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ The maximum amount of gas the user wants the transaction to use. If the gas limi
### Fee
`Fee = Gas Price * Gas Limit`.

To help developers and users estimate fees on Sei, please reference [Sei Gas](seigas.com) and the associated [APIs](https://docs.blocknative.com/gas-prediction/gas-platform) provided by Blocknative. Their estimates are based on real-time SEI data and advanced ML modeling to accurately and consistently estimate SEI transaction fees.

**Using Blocknative's Gas API**

To leverage Blocknative's you will need an [API Key](https://docs.blocknative.com/gas-prediction/gas-platform#authentication). Once you have an API key, you can request fee estimation for SEI:

```
curl -H "Authorization: your-apikey-here" https://api.blocknative.com/gasprices/blockprices?chainid=1329
```


### 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

0 comments on commit ce43e5f

Please sign in to comment.