JSON-RPC Endpoints

Detailed endpoint reference

🚧

New site!

All content has been migrated to docs.dash.org. You will be automatically redirected momentarily.

Overview

The endpoints described on this page provide access to information from the Core chain (layer 1).

Required Parameters

All valid JSON-RPC requests require the inclusion the parameters listed in the following table.

NameTypeDescription
methodStringName of the endpoint
idIntegerRequest id (returned in the response to differentiate results from the same endpoint)
jsonrpcStringJSON-RPC version ("2.0")

Additional information may be found in the JSON-RPC 2.0 specification.

Endpoint Details

getBestBlockHash

Returns: the block hash of the chaintip
Parameters: none

Example Request and Response