Dogecoin Blockbook (WebSocket) API

The Blockbook indexer WebSocket interface for Dogecoin: request/response queries (status, account info, UTXOs, transactions, broadcast, fee estimation) plus subscriptions to new blocks and address activity over a persistent connection.

Blockbook (REST) and Blockbook (WebSocket) are provisioned as separate interfaces with their own endpoint URLs. Enabling one does not enable the other. A project that watches an address as well as querying it needs both.

Use WebSocket when subscriptions are required, and REST for one-off queries. A standard Dogecoin JSON-RPC endpoint does not support Blockbook methods, and the Dogecoin Core wallet RPCs such as listunspent are disabled on shared nodes.

Base URL

bashwss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>

Methods

MethodDescription
getInfoIndexer and backend status
getAccountInfoAddress balance and transaction history
getAccountUtxoUnspent outputs for an address, xpub, or descriptor
getTransactionNormalized transaction by txid
sendTransactionBroadcast a signed, serialized transaction
estimateFeeFee estimate for one or more confirmation targets
subscribeNewBlockSubscribe to new blocks as they are connected
subscribeAddressesSubscribe to activity on a set of addresses

Dogecoin specifics

  • A one-block fee target returns negative values. estimateFee reports feePerUnit: "-100000000" for blocks: 1, the node's -1 scaled into koinu. Check the rate is positive before using it. See estimateFee.
  • Amounts are in koinu, at 1e-8 DOGE, and run to sixteen digits on active accounts. Use a 64-bit integer or a decimal type.
  • No SegWit. Transactions report size only, with no vsize, and fee rates are per byte.
  • One-minute blocks. Block notifications arrive about ten times as often as on Bitcoin, and a confirmation depth copied from a Bitcoin integration settles in roughly a tenth of the wall-clock time.

Support