Base URL https://gas.mycryptoapi.com/
This document was generated automatically. Please see README Generator for more info.
There are no environment variables for this adapter.
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 |
fast |
Request:
{
"id": "1",
"data": {
"endpoint": "gasprice",
"speed": "fast"
},
"debug": {
"cacheKey": "0BJQ6WrEaARtjkqLfBrRVKG+QcE="
}
}
Response:
{
"jobRunID": "1",
"data": {
"safeLow": 122,
"standard": 134,
"fast": 148,
"fastest": 160,
"blockNum": 13722866,
"result": 148
},
"result": 148,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License