Skip to content

Latest commit

 

History

History
90 lines (66 loc) · 2.78 KB

File metadata and controls

90 lines (66 loc) · 2.78 KB

Chainlink External Adapter for Wootrade

1.2.32 v2

Adapter using the public Wootrade market API for both HTTP(s) and WS.

Base URL https://api.woo.network

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

Environment Variables

Required? Name Description Type Options Default
API_ENPOINT
WS_API_ENDPOINT
API_KEY An key to use the wootrade WS API string

Data Provider Rate Limits

There are no rate limits for this adapter.


Input Parameters

Every EA supports base input parameters from this list

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

Crypto Endpoint

Supported names for this endpoint are: crypto, ticker.

Input Params

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

Example

Request:

{
  "id": "1",
  "data": {
    "base": "ETH",
    "quote": "USDT",
    "endpoint": "crypto"
  },
  "debug": {
    "cacheKey": "0aaBzX3SO1b91U+WhOHIsT33oj0="
  }
}

Response:

{
  "jobRunID": "1",
  "data": {
    "success": true,
    "rows": [
      {
        "symbol": "SPOT_ETH_USDT",
        "side": "SELL",
        "executed_price": 4499.01,
        "executed_quantity": 0.043747,
        "executed_timestamp": "1636138728.930"
      }
    ],
    "result": 4499.01
  },
  "result": 4499.01,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License