Dash Core

Dash Core Developer Documentation

Welcome to the Dash Core developer documentation. You'll find guides and documentation to help you start working with Dash Core as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Guides




Warning: A web browser can access a HTTP REST interface running on localhost, possibly allowing third parties to use cross-site scripting attacks to download your transaction and block data, reducing your privacy. If you have privacy concerns, you should not run a browser on the same computer as a REST-enabled Dash Core node.

Dash Core provides an unauthenticated HTTP REST interface. The interface runs on the same port as the JSON-RPC interface, by default port 9998 for mainnetmainnet - The original and main network for Dash transactions, where duffs have real economic value. and port 19998 for testnettestnet - A global testing environment in which developers can obtain and spend duffs that have no real-world value on a network that is very similar to the Dash mainnet.. It must be enabled by either starting Dash Core with the -rest option or by specifying rest=1 in the configuration file. Make sure that the RPC interface is also activated. Set server=1 in dash.conf or supply the -server argument when starting Dash Core. Starting Dash Core with dashd automatically enables the RPC interface.

The interface is not intended for public access and is only accessible from localhost by default. The interface uses standard HTTP status codes and returns a plain-text description of errors for debugging.

Updated about a year ago


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.