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

Update gas-fees.mdx #848

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
17 changes: 17 additions & 0 deletions docs/developers/tooling/gas/blocknative.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Blocknative
image: /img/socialCards/blocknative.jpg
---

Blocknative offers APIs to help developers and users estimate fees on Linea. The estimates are based

Check failure on line 6 in docs/developers/tooling/gas/blocknative.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'Blocknative'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'Blocknative'?", "location": {"path": "docs/developers/tooling/gas/blocknative.mdx", "range": {"start": {"line": 6, "column": 1}}}, "severity": "ERROR"}
on real-time Linea data and ML modeling to accurately and consistently estimate Linea transaction
fees. Linea fee estimation is also available in the Blocknative [browser extension](https://www.blocknative.com/gas-extension).

Check failure on line 8 in docs/developers/tooling/gas/blocknative.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'Blocknative'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'Blocknative'?", "location": {"path": "docs/developers/tooling/gas/blocknative.mdx", "range": {"start": {"line": 8, "column": 53}}}, "severity": "ERROR"}

## Use the Blocknative Gas API

Check warning on line 10 in docs/developers/tooling/gas/blocknative.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Headings] 'Use the Blocknative Gas API' should use sentence-style capitalization. Raw Output: {"message": "[Consensys.Headings] 'Use the Blocknative Gas API' should use sentence-style capitalization.", "location": {"path": "docs/developers/tooling/gas/blocknative.mdx", "range": {"start": {"line": 10, "column": 4}}}, "severity": "WARNING"}

Check failure on line 10 in docs/developers/tooling/gas/blocknative.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'Blocknative'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'Blocknative'?", "location": {"path": "docs/developers/tooling/gas/blocknative.mdx", "range": {"start": {"line": 10, "column": 12}}}, "severity": "ERROR"}

To leverage Blocknative's Gas API, you will need an [API Key](https://docs.blocknative.com/gas-prediction/gas-platform).

Check failure on line 12 in docs/developers/tooling/gas/blocknative.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'Blocknative's'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'Blocknative's'?", "location": {"path": "docs/developers/tooling/gas/blocknative.mdx", "range": {"start": {"line": 12, "column": 13}}}, "severity": "ERROR"}
Once you have an API key, you can request fee estimation for Linea:

```bash
curl -H "Authorization: your-apikey-here" https://api.blocknative.com/gasprices/blockprices?chainid=59144
```
8 changes: 8 additions & 0 deletions docs/developers/tooling/gas/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Gas
image: /img/socialCards/gas.jpg
---

import DocCardList from '@theme/DocCardList';

<DocCardList />
11 changes: 11 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,17 @@ const sidebars = {
"developers/tooling/data-indexers/thegraph",
],
},
{
type: "category",
label: "Gas",
link: {
type: "doc",
id: "developers/tooling/gas/index",
},
items: [
"developers/tooling/gas/blocknative",
],
},
{
type: "category",
label: "Libraries",
Expand Down
Loading