Chainlink External Adapter for Coinranking
The adapter takes the following environment variables:
Required?
Name
Description
Options
Defaults to
API_KEY
Required?
Name
Description
Options
Defaults to
endpoint
The endpoint to use
price , marketcap
price
https://api.coinranking.com/v2/coin/`{COIN_UUID}`
Required?
Name
Description
Options
Defaults to
✅
base
, from
, coin
The symbol of the currency to query
🟡
coinid
The coin ID (optional to use in place of base
)
{
"id" : " 1" ,
"data" : {
"base" : " ETH"
}
}
{
"jobRunID" : " 1" ,
"data" : {
"result" : 2110.2357344391503
},
"result" : 2110.2357344391503 ,
"statusCode" : 200
}
https://api.coinranking.com/v2/coin/`{COIN_UUID}`
Required?
Name
Description
Options
Defaults to
✅
base
, from
, coin
The symbol of the currency to query
🟡
coinid
The coin ID (optional to use in place of base
)
{
"id" : " 1" ,
"data" : {
"endpoint" : " marketcap" ,
"base" : " ETH"
}
}
{
"jobRunID" : " 1" ,
"data" : {
"result" : 245013696787.35812
},
"result" : 245013696787.35812 ,
"statusCode" : 200
}