Base URL https://www.etherchain.org
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
API_ENDPOINT | string | https://www.etherchain.org |
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | gasprice | gasprice |
gasprice
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
speed | The desired speed | string | fast , fastest , safeLow , standard |
standard |
Request:
{
"id": "1",
"data": {
"endpoint": "gasprice",
"speed": "fast"
},
"debug": {
"cacheKey": "0BJQ6WrEaARtjkqLfBrRVKG+QcE="
}
}
Response:
{
"jobRunID": "1",
"data": {
"safeLow": 1,
"standard": 1,
"fast": 1.5,
"fastest": 2,
"currentBaseFee": 126.6,
"recommendedBaseFee": 257,
"result": 1500000000
},
"result": 1500000000,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License