Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
GitBook: [master] 3 pages and one asset modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley van Heije authored and gitbook-bot committed Feb 1, 2021
1 parent c5fb86b commit 0277d2f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
Binary file added docs/.gitbook/assets/image (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
description: An aggregated Ethereum gas price feed.
---

# ETH Gas.watch overview
# Introduction

ETH Gas.watch is an aggregated gas price feed that checks multiple data sources for the latest gas prices. By aggregating these data sources, it provides a more reliable, median gas price.

Visit [ethgas.watch](https://ethgas.watch/)

![](.gitbook/assets/image.png)
![](.gitbook/assets/image%20%281%29.png)

6 changes: 3 additions & 3 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Table of contents

## API
* [Overview](README.md)
* [Introduction](README.md)
* [API](api.md)

## ETH Gas.watch

* [Visit website](https://ethgas.watch/)
* [Visit website](https://ethgas.watch/)

14 changes: 12 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,17 @@ Trend
{% endapi-method-summary %}

{% api-method-description %}
This endpoint allows you to get historical gas price data.
This endpoint allows you to get historical gas price data. Chose one of the query params below to retrieve either the daily or the hourly trend data.
{% endapi-method-description %}

{% api-method-spec %}
{% api-method-request %}
{% api-method-query-parameters %}
{% api-method-parameter name="" type="string" required=true %}
{% api-method-parameter name="hours" type="number" required=false %}
Amount of hours to return \(e.g. 24 for 1 day\)
{% endapi-method-parameter %}

{% api-method-parameter name="days" type="number" required=false %}
Amount of days to return \(e.g. 7 for 1 week\)
{% endapi-method-parameter %}
{% endapi-method-query-parameters %}
Expand Down Expand Up @@ -154,6 +158,12 @@ This endpoint allows you to get statistics on the amount of alerts and registrat

{% api-method-spec %}
{% api-method-request %}
{% api-method-query-parameters %}
{% api-method-parameter name="days" type="number" required=true %}
Amount of days to return \(e.g. 7 for 1 week\)
{% endapi-method-parameter %}
{% endapi-method-query-parameters %}
{% endapi-method-request %}

{% api-method-response %}
{% api-method-response-example httpCode=200 %}
Expand Down

0 comments on commit 0277d2f

Please sign in to comment.