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.
The remaining JSON-RPC endpoints will be migrated to gRPC in a future release
|Broadcasts the provided transaction
|Returns information for the requested block
|Returns blockchain status information
|Returns details for the requested transaction
|Returns the requested block headers along with the associated ChainLocks.
Added in Dash Platform v0.22
|Returns transactions matching the provided bloom filter along with the associated
islock message and merkle block
Dash Platform 0.20.0 introduced proofs to Platform gRPC endpoints so the data returned for a request can be verified as being valid.
|Broadcasts the provided State Transition
|Returns the requested identity
|Returns the identities associated with the provided public key hashes
Added in Dash Platform v0.16
|Removed in Dash Platform v0.23
Returns the identity IDs associated with the provided public key hashes
|Returns the requested data contract
|Returns the requested document(s)
|Responds 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 1 year ago