Options
All
  • Public
  • Public/Protected
  • All
Menu

OEX JS SDK

OEX JS SDK

This npm module implements the HTTP and Socket.io API of https://trade.opium.exchange/

Documentation

API Reference - https://opiumprotocol.github.io/oex-js/

Installation

npm i @opiumteam/oex-js

Examples

Get products list

import { Api } from '@opiumteam/oex-js'

const api = new Api()

api
  .tickersGetAll({type: 'swap'})
  .then(tickers => console.log(tickers))

Development

Clone project and install dev dependencies

npm i

Run TS build, linter and docs

npm run build
npm run lint
npm run docs

Submit pull requests

Generated using TypeDoc