* FIX: getBlocks optional params * v2.3.0 - new minor version for mempool-js - Add support for Bisq API - Add support for Liquid API - Change the main object to export network objects. - Change README.md instructions. Co-authored-by: softsimon <softsimon@users.noreply.github.com>
12 lines
206 B
TypeScript
12 lines
206 B
TypeScript
import mempoolJS from '../../../src/index';
|
|
|
|
const init = async () => {
|
|
const {
|
|
bisq: { statistics },
|
|
} = mempoolJS();
|
|
|
|
const stats = await statistics.getStats();
|
|
console.log(stats);
|
|
};
|
|
init();
|