@idexio/idex-sdk
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

IDEX JavaScript SDK

Discord GitHub npm GitHub issues

Twitter Follow

The official library for IDEX v3's REST and WebSocket APIs.

  • Written in TypeScript with full typings for all requests and responses
  • Supports both Node.js and browser environments
  • Implements a real time order book including support for hybrid liquidity

Complete documentation for the IDEX v3 API is available at https://api-docs-v3.idex.io.

Installation

yarn add @idexio/idex-sdk@beta
// or
npm install --save @idexio/idex-sdk@beta

Getting Started

Get IDEX v3 sandbox API keys.

import * as idex from '@idexio/idex-sdk';

const publicClient = new idex.RestPublicClient({
  sandbox: true,
});
console.log(await publicClient.getServerTime());

In-depth usage documentation by endpoint is available here.

Contract ABIs

Included in the contracts/ directory contains the ABIs necessary for interacting with IDEX v3's smart contracts.

License

The IDEX JavaScript SDK is released under the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i @idexio/idex-sdk

Weekly Downloads

515

Version

2.3.0

License

MIT

Unpacked Size

1.08 MB

Total Files

129

Last publish

Collaborators

  • galvarado_idex
  • jaymod
  • yennieb
  • dileepfrog
  • jurosh
  • fubar
  • bradynapier