Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.66 KB

File metadata and controls

61 lines (43 loc) · 1.66 KB

Chainlink External Adapter for Deribit

Version: 1.1.28

This document was generated automatically. Please see README Generator for more info.

Environment Variables

Required? Name Description Type Options Default
API_ENDPOINT string https://www.deribit.com/api/v2/public/

Input Parameters

Required? Name Description Type Options Default
endpoint The endpoint to use string crypto crypto

Crypto Endpoint

crypto is the only supported name for this endpoint.

Input Params

Required? Name Aliases Description Type Options Default Depends On Not Valid With
currency base, coin, from, symbol The symbol of the currency to query

Example

Request:

{
  "id": "1",
  "data": {
    "endpoint": "crypto",
    "currency": "ETH"
  }
}

Response:

{
  "jobRunID": "1",
  "data": {
    "result": 68.16959232733399
  },
  "result": 68.16959232733399,
  "statusCode": 200,
  "providerStatusCode": 200
}