* Add yarn-error.log to gitignore. * Add ts-node to devDependencies. Add script to only build tsc. Add websocket to keywords. * Update yarn.lock libs. * FIX websocket endpoint hostname. FIX corrent import for all examples. FIX websocket instrucions on readme.
12 lines
207 B
TypeScript
12 lines
207 B
TypeScript
import mempoolJS from "@mempool/mempool.js";
|
|
|
|
const init = async () => {
|
|
const {
|
|
bisq: { statistics },
|
|
} = mempoolJS();
|
|
|
|
const stats = await statistics.getStats();
|
|
console.log(stats);
|
|
};
|
|
init();
|