Dash CoreDash PlatformDash.orgDash User DocsLog In
These docs are for v0.16.0. Click to read the latest docs for v0.25-redirect.

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


Deprecated RPCs

The getAddressSummary and getUTXO RPCs are deprecated and no longer usable as of Dash Platform v0.15.0.

Services that previously used these RPCs should join the wallet-lib library in switching to using the subscribeToTransactionsWithProofs gRPC endpoint for similar (and more efficient) functionality.

1getAddressSummaryDeprecated in Dash Platform v0.15.0
Returns summary information for provided address(es)
1getBestBlockHashReturns block hash of the chaintip
1getBlockHashReturns block hash of the requested block
1getMnListDiffReturns masternode list diff for the provided block hashes
1getUTXODeprecated in Dash Platform v0.15.0
Returns unspent transaction outputs for a given address

gRPC Endpoints

Core gRPC Service

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

Platform gRPC Service


Deprecated RPCs

The getIdentityByFirstPublicKey and getIdentityIdByFirstPublicKey RPCs are deprecated and no longer usable as of Dash Platform v0.16.0. They were replaced by getIdentitiesByPublicKeyHashes and getIdentityIdsByPublicKeyHashes.

2applyStateTransitionRenamed to broadcastStateTransition in Dash Platform v0.15.0
2broadcastStateTransitionBroadcasts the provided State Transition
2getIdentityReturns the requested identity
2getIdentityByFirstPublicKeyReturns the identity associated with the provided public key (replaced by getIdentitiesByPublicKeyHashes)
2getIdentityIdByFirstPublicKeyReturns the identity ID associated with the provided public key (replaced by getIdentityIdsByPublicKeyHashes)
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)