diff --git a/docs/build/zkEVM/fee.md b/docs/build/zkEVM/fee.md index e92fa08480e..be580e6ed0b 100644 --- a/docs/build/zkEVM/fee.md +++ b/docs/build/zkEVM/fee.md @@ -66,7 +66,7 @@ coming soon... ### The Price Oracle Response -An example JSON response will look like this. +An example JSON response from Blockscout Price Oracle will look like this: ```json { diff --git a/docs/build/zkEVM/zkevm-gas-station.md b/docs/build/zkEVM/zkevm-gas-station.md deleted file mode 100644 index cd0517136ad..00000000000 --- a/docs/build/zkEVM/zkevm-gas-station.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -sidebar_position: 6 -title: Blockscout zkEVM Gas Oracle -sidebar_label: zkEVM Gas Oracle ---- - -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - -## Overview -The **Blockscout Price Oracle** provides gas pricing suggestions which can be used by dApp developers before sending transactions to the **Astar zkEVM** network. - -## Usage -Blockscout Price Oracle takes the values from the average of previous blocks. It does't call `eth_gasPrice`. - - - -Send a GET request to the [Blockscout Price Oracle endpoint](https://zkatana.blockscout.com/api/v1/gas-price-oracle) to get a gas price recommendation from this oracle. - -#### cURL - -```bash -curl https://zkatana.blockscout.com/api/v1/gas-price-oracle -``` - -#### JavaScript - -```javascript -fetch('https://zkatana.blockscout.com/api/v1/gas-price-oracle') - .then(response => response.json()) - .then(json => console.log(json)) -``` - -#### Python - -```python -import requests -requests.get('https://zkatana.blockscout.com/api/v1/gas-price-oracle').json() -``` - - - -coming soon... - - - - -## Interpretation - -An example JSON response will look like this. - -```json -{ - "average":0.02, - "fast":0.02, - "slow":0.02, -} -``` - -- {`average`, `fast`, `slow`} are gas prices in Gwei, you can use these prices before sending the transaction off to Astar zkEVM. \ No newline at end of file