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
crypto , marketcap
crypto
https://api.coinranking.com/v2/coins
Required?
Name
Description
Options
Defaults to
✅
base
, from
, coin
The symbol of the currency to query
✅
quote
, to
, market
The symbol of the currency to convert to
🟡
coinid
The coin ID to select the specific coin (in case of duplicate from
symbols)
🟡
referenceCurrencyUuid
Optional UUID of the to
currency
{
"id" : " 1" ,
"data" : {
"from" : " ETH" ,
"to" : " USD"
}
}
{
"jobRunID" : " 1" ,
"data" : {
"result" : 2110.2357344391503
},
"result" : 2110.2357344391503 ,
"statusCode" : 200
}
Required?
Name
Description
Options
Defaults to
✅
base
, from
, coin
The symbol of the currency to query
✅
quote
, to
, market
The symbol of the currency to convert to
🟡
coinid
The coin ID to select the specific coin (in case of duplicate from
symbols)
🟡
referenceCurrencyUuid
Optional UUID of the to
currency
{
"id" : " 1" ,
"data" : {
"endpoint" : " marketcap" ,
"base" : " ETH" ,
"quote" : " USD"
}
}
{
"jobRunID" : " 1" ,
"data" : {
"result" : 245013696787.35812
},
"result" : 245013696787.35812 ,
"statusCode" : 200
}