diff --git a/docs/developers/tooling/gas/blocknative.mdx b/docs/developers/tooling/gas/blocknative.mdx new file mode 100644 index 000000000..7bb0a4a9b --- /dev/null +++ b/docs/developers/tooling/gas/blocknative.mdx @@ -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 +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). + +## Use the Blocknative Gas API + +To leverage Blocknative's Gas API, you will need an [API Key](https://docs.blocknative.com/gas-prediction/gas-platform). +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 +``` diff --git a/docs/developers/tooling/gas/index.mdx b/docs/developers/tooling/gas/index.mdx new file mode 100644 index 000000000..18a02c012 --- /dev/null +++ b/docs/developers/tooling/gas/index.mdx @@ -0,0 +1,8 @@ +--- +title: Gas +image: /img/socialCards/gas.jpg +--- + +import DocCardList from '@theme/DocCardList'; + + diff --git a/sidebars.js b/sidebars.js index a4a9ccf30..0387629e0 100644 --- a/sidebars.js +++ b/sidebars.js @@ -286,6 +286,17 @@ const sidebars = { "get-started/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",