fcoin-nodejs-api
v1.4.3
Published
Use the package, you can use official api easily!
Downloads
102
Readme
FCoin-nodejs-api
For some people,use api easily!
Installation
npm install fcoin-nodejs-api
Examples
import { FcoinWebSocket, FCoinApi } from 'fcoin-nodejs-api';
const ws = new FcoinWebSocket();
const api = new FCoinApi('your-key', 'your-secret');
ws.OnTicker('ftusdt', (data) => {
console.log(data);
});
api.FetchBalance().then(console.log);