Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 2.63 KB

File metadata and controls

76 lines (53 loc) · 2.63 KB

Chainlink External Adapter for Deribit

1.2.36 v2

Base URL https://www.deribit.com/api/v2/public/

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/

Data Provider Rate Limits

Name Requests/credits per second Requests/credits per minute Requests/credits per hour Note
free 100 1200 for non-matching requests: https://www.deribit.com/pages/information/rate-limits

Input Parameters

Every EA supports base input parameters from this list

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": {
    "currency": "ETH",
    "endpoint": "crypto"
  },
  "debug": {
    "cacheKey": "hJ7N538OT46zUTHH59trC5Qbouw="
  }
}

Response:

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

MIT License