By default fetches the value of stMATIC/USD
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
✅ | POLYGON_RPC_URL | Polygon RPC URL | string | ||
POLYGON_CHAIN_ID | The chain id to connect to | string | 137 |
There are no rate limits for this adapter.
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | stmatic | stmatic |
stMATIC token price in USD.
stmatic
is the only supported name for this endpoint.
There are no input parameters for this endpoint.
Request:
{
"id": "1",
"data": {
"endpoint": "stmatic"
},
"debug": {
"cacheKey": "5bw+9BVRUWe1yPyws7E5OJiSTK8="
}
}
Response:
{
"jobRunID": "1",
"data": {
"result": 69357317
},
"result": 69357317,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License