Dash Platform

Dash Platform Developer Documentation

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

Get Started

DAPI Endpoints

Overview of available endpoints

DAPI currently provides 2 types of endpoints: JSON-RPC and gRPC. The JSON-RPC endpoints expose some layer 1 information while the gRPC endpoints support layer 2 as well as streaming of events related to blocks and transactions/transitions.

JSON-RPC Endpoints

πŸ“˜

gRPC Migration

The remaining JSON-RPC endpoints will be migrated to gRPC in a future release

LayerEndpointDescription
1getBestBlockHashReturns block hash of the chaintip
1getBlockHashReturns block hash of the requested block
1getMnListDiffReturns masternode list diff for the provided block hashes

gRPC Endpoints

Core gRPC Service

LayerEndpoint
1broadcastTransactionBroadcasts the provided transaction
1getBlockReturns information for the requested block
1getStatusReturns blockchain status information
Updated in Dash Platform v0.19
1getTransactionReturns details for the requested transaction
1subscribeTo TransactionsWithProofsReturns transactions matching the provided bloom filter along with the associated islock message and merkle block

Platform gRPC Service

LayerEndpoint
2broadcastStateTransitionBroadcasts the provided State Transition
2getIdentityReturns the requested identity
2getIdentitiesByPublicKeyHashesReturns the identities associated with the provided public key hashes
Added in Dash Platform v0.16
2getIdentityIdsByPublicKeyHashesReturns the identity IDs associated with the provided public key hashes
Added in Dash Platform v0.16
2getDataContractReturns the requested data contract
2getDocumentsReturns the requested document(s)
2waitForStateTransitionResultResponds with the state transition hash and either a proof that the state transition was confirmed in a block or an error

πŸ“˜

The previous version of documentation can be viewed here.

Updated about a month ago



DAPI Endpoints


Overview of available endpoints

Suggested Edits are limited on API Reference Pages

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