seven-seas-js
v1.0.3
Published
API wrapper for https://evenseas.exchange
Downloads
5
Maintainers
Readme
SevenSeas-js
API wrapper for https://sevenseas.exchange
Installation
npm i seven-seas-js
Usage
import SevenSeas from 'seven-seas-js'
const sevenSeas = new SevenSeas(process.env.KEY, process.env.SECRET)
// get markets
const markets = await sevenSeas.fetchAllMarkets();
// get one market
const market = await sevenSeas.fetchOneMarket('xmr-btc');
// get history
const history = await sevenSeas.tradeHistory('xmr-btc');
// get order boos
const ordersBook = await sevenSeas.ordersBook('xmr-btc');
// get account balance by currency
const balance = await.fetchAccountBalance('btc')