Dash Platform DAPI (Decentralized API)
Decentralized HTTP API exposing gRPC and JSON-RPC endpoints for both Dash Core layer 1 and Dash Platform layer 2 (DashPay). Core gRPC endpoints cover broadcastTransaction, getBestBlockHeight, getBlockchainStatus, getTransaction, and real-time subscriptions (block headers with ChainLocks, masternode list, transactions with proofs). Platform gRPC endpoints cover identities (get, balance, keys, nonce), data contracts and their history, documents, state transition broadcast, governance vote polls, tokens (balances, supply, distribution), and system info (epochs, quorums, protocol version). JSON-RPC exposes getBestBlockHash and getBlockHash. Communication is secured with TLS; responses optionally include cryptographic Merkle proofs.