Hi guys. I do not understand what settings to prescribe in the request. I want to connect to the mainnet. It turns out only to the testnet!
const DAPIClient = require('@dashevo/dapi-client');
const client = new DAPIClient();
client.core.getBlockByHeight(879151)
.then((response) => console.dir(response, { length: 0 }));
Please help
const DAPIClient = require('@dashevo/dapi-client');
const client = new DAPIClient();
client.core.getBlockByHeight(879151)
.then((response) => console.dir(response, { length: 0 }));
Please help