acx-io
v1.0.4
Published
Typescript wrapper for ACX Exchange
Downloads
9
Maintainers
Readme
ACX Wrapper
Typescript / Node wrapper for the Data and Trading APIs offered by ACX
Setup
Install the dependancies with npm / yarn.
npm install acx-io --save
API Key
In order to utilise the private()
method you'll need to generate an API Key.
Usage
The API wrapper exposes a Public and a Private method, which contain each of the endpoint functions.
Exposed Functions
- Public methods are within
public.ts
- Private methods are within
private.ts
Example
Examples for usage of each function can be found within the examples folder.
They can be run by the command line with ts-node
.
npm install ts-node -g
ts-node examples/public/orderbook
import { acx } from 'acx-io';
const acx = new acx('accessKey', 'secret');
// Access Public Timestamp
acx.public().timestamp()
.then(resp => {
console.log(resp);
});