• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Connecting to the main net via the api. Need help


New member
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();

.then((response) => console.dir(response, { length: 0 }));

Please help
Thank you so much for the answer! I.e. access to the mainnet can only be obtained by installing dash core? And a request via dash-cli?
Absolutely NO! :eek:

There are a bunch of delightful tools made by @coolaj86. You should definitely check this one! Its using dash insight api to query information, and does not need hosting your own node at all! (y)

Here some links to it