Chainlink External Adapter for CryptoCompare
Required?
Name
Description
Options
Defaults to
✅
API_KEY
An API key that can be obtained from here
Required?
Name
Description
Options
Defaults to
endpoint
The endpoint to use
crypto , marketcap
crypto
NOTE: the price
endpoint is temporarily still supported, however, is being deprecated. Please use the crypto
endpoint instead.
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
🟡
overrides
If base provided is found in overrides, that will be used
Format
{
"id" : " 1" ,
"data" : {
"base" : " ETH" ,
"quote" : " USD"
}
}
{
"jobRunID" : " 1" ,
"data" : {
"USD" : 164.02 ,
"result" : 164.02
},
"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
{
"jobId" : " 1" ,
"data" : {
"base" : " BTC" ,
"quote" : " USD" ,
"endpoint" : " marketcap"
}
}
{
"jobRunID" : " 1" ,
"statusCode" : 200 ,
"result" : 891651422525.12 ,
"data" : {
"result" : 891651422525.12
}
}