Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.28 KB

File metadata and controls

40 lines (30 loc) · 1.28 KB

Chainlink External Adapter for Coinbase

Query information from Coinbase's API

Input Parameters

Required? Name Description Options Defaults to
endpoint The endpoint to use crypto crypto

Price Endpoint

NOTE: the price endpoint is temporarily still supported, however, is being deprecated. Please use the crypto endpoint instead.

Input Params

Required? Name Description Options Defaults to
base, from, or coin The symbol of the currency to query BTC, ETH, USD
quote, to, or market The symbol of the currency to convert to BTC, ETH, USD

Output

{
  "jobRunID": "1",
  "data": {
    "data": {
      "base": "BTC",
      "currency": "USD",
      "amount": "46823.85"
    },
    "result": 46823.85
  },
  "result": 46823.85,
  "statusCode": 200
}