1658317140
This adapter has moved to our external adapters monorepo!
function
: (Optional) The function to call (defaults to CURRENCY_EXCHANGE_RATE)base
, from
, or coin
: The asset to queryquote
, to
, or market
: The currency to convert to{
"jobRunID": "1",
"data": {
"Realtime Currency Exchange Rate": {
"1. From_Currency Code": "ETH",
"2. From_Currency Name": "Ethereum",
"3. To_Currency Code": "USD",
"4. To_Currency Name": "United States Dollar",
"5. Exchange Rate": "170.88000000",
"6. Last Refreshed": "2020-04-16 19:15:01",
"7. Time Zone": "UTC",
"8. Bid Price": "170.84000000",
"9. Ask Price": "170.88000000"
},
"result": 170.88
},
"result": 170.88,
"statusCode": 200
}
yarn
yarn test
zip -r cl-alphavantage.zip .
If you wish to use Docker to run the adapter, you can build the image by running the following command:
docker build . -t alphavantage-adapter
Then run it with:
docker run -p 8080:8080 -e API_KEY='YOUR_API_KEY' -it alphavantage-adapter:latest
cl-alphavantage.zip
filecl-alphavantage.zip
fileDownload Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/alphavantage-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink
1658317140
This adapter has moved to our external adapters monorepo!
function
: (Optional) The function to call (defaults to CURRENCY_EXCHANGE_RATE)base
, from
, or coin
: The asset to queryquote
, to
, or market
: The currency to convert to{
"jobRunID": "1",
"data": {
"Realtime Currency Exchange Rate": {
"1. From_Currency Code": "ETH",
"2. From_Currency Name": "Ethereum",
"3. To_Currency Code": "USD",
"4. To_Currency Name": "United States Dollar",
"5. Exchange Rate": "170.88000000",
"6. Last Refreshed": "2020-04-16 19:15:01",
"7. Time Zone": "UTC",
"8. Bid Price": "170.84000000",
"9. Ask Price": "170.88000000"
},
"result": 170.88
},
"result": 170.88,
"statusCode": 200
}
yarn
yarn test
zip -r cl-alphavantage.zip .
If you wish to use Docker to run the adapter, you can build the image by running the following command:
docker build . -t alphavantage-adapter
Then run it with:
docker run -p 8080:8080 -e API_KEY='YOUR_API_KEY' -it alphavantage-adapter:latest
cl-alphavantage.zip
filecl-alphavantage.zip
fileDownload Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/alphavantage-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink
1658309820
This external adapter uses the unauthenticated endpoints for connecting to the Binance Exchange API.
endpoint
: The endpoint of the API to querysymbol
: The symbol to query. Will default to "ETHUSDT"
if unspecified and required by the endpoint.npm install
npm test
zip -r cl-binance.zip .
cl-binance.zip
filecl-binance.zip
fileDownload Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/binance-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink #javascript
1658375760
base
or to
: The target currency to query (required)quote
or from
: The currency to convert to (required)endpoint
: The endpoint to call (optional){
"jobRunID": "1",
"data": {
"value": 1.22687,
"text": "1.0 GBP is worth 1.22687 USD",
"timestamp": 1587489920,
"result": 1.22687
},
"result": 1.22687,
"statusCode": 200
}
yarn
yarn test
zip -r cl-1forge.zip .
If you wish to use Docker to run the adapter, you can build the image by running the following command:
docker build . -t 1forge-adapter
Then run it with:
docker run -p 8080:8080 -e API_KEY='YOUR_API_KEY' -it 1forge-adapter:latest
cl-1forge.zip
filecl-1forge.zip
fileDownload Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/1forge-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink
1658324413
This adapter has moved to our external adapters monorepo!
base
or from
: The target currency to query (required)quote
or to
: The currency to convert to (required)endpoint
: The endpoint to call (optional)amount
: The amount to convert (optional){
"jobRunID": "1",
"data": {
"success": true,
"query": {
"from": "GBP",
"to": "JPY",
"amount": 1
},
"info": {
"timestamp": 1519328414,
"rate": 148.972231
},
"historical": "",
"date": "2018-02-22",
"result": 148.972231
},
"result": 148.972231,
"statusCode": 200
}
yarn
yarn test
zip -r cl-fixer.zip .
If you wish to use Docker to run the adapter, you can build the image by running the following command:
docker build . -t fixer-adapter
Then run it with:
docker run -p 8080:8080 -e API_KEY='YOUR_API_KEY' -it fixer-adapter:latest
cl-fixer.zip
filecl-fixer.zip
fileDownload Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/fixer-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink
1658432340
go install
go build -o substrate-adapter
./substrate-adapter
Key | Description |
---|---|
SA_PRIVATE_KEY | Private key for your Substrate account. |
SA_TX_TYPE | Transaction type on the Substrate network. Either "mortal" or "immortal". |
SA_ENDPOINT | Endpoint URL for Substrate node to connect to. |
Download Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/substrate-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink #go #substrate