Dogecoin JSON-RPC API
The Dogecoin JSON-RPC API exposes the Dogecoin Core node interface: methods for reading blocks and transactions, inspecting individual unspent outputs, building and signing raw transactions, and reading node and mining state. Requests POST a JSON-RPC 2.0 body to the endpoint; the method is selected by the body.
This is the node interface. It has no address index, so it cannot answer "what is the balance of this address" or "what are the unspent outputs of this address". Those queries belong on the Blockbook add-on, which is provisioned as its own endpoint.
Base URL
bashhttps://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/Request Format
Every request is a POST carrying a JSON-RPC 2.0 body:
bashcurl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "getblockcount",
"params": [],
"id": "getblock.io"
}'Available Methods
Blockchain information
| Method | Description |
|---|---|
getblockchaininfo | Returns state information about blockchain processing |
getbestblockhash | Returns the hash of the current chain tip |
getblockcount | Returns the number of blocks in the longest blockchain |
getdifficulty | Returns the current mining difficulty |
getchaintips | Returns information about all known tips in the block tree |
getinfo | Returns an object containing various state info about the node |
getconnectioncount | Returns the number of connections to other nodes |
getmemoryinfo | Returns information about the node's memory usage |
help | Lists every command the node exposes, or describes one |
Block retrieval
| Method | Description |
|---|---|
getblock | Returns block data for a given block hash |
getblockhash | Returns the hash of the block at a given height |
getblockheader | Returns a block header without its transactions |
Transaction methods
| Method | Description |
|---|---|
getrawtransaction | Returns the raw transaction data for a given transaction id |
decoderawtransaction | Decodes a hex-encoded raw transaction and returns it as JSON |
createrawtransaction | Creates a raw transaction spending the given inputs |
signrawtransaction | Signs inputs for a serialized, hex-encoded raw transaction |
sendrawtransaction | Broadcasts a signed transaction and returns its id |
decodescript | Decodes a hex-encoded script |
Mempool methods
| Method | Description |
|---|---|
getrawmempool | Returns the transaction ids of everything in the memory pool |
getmempoolinfo | Returns details on the active state of the memory pool |
getmempoolentry | Returns mempool data for a single queued transaction |
getmempoolancestors | Returns the unconfirmed transactions a transaction depends on |
getmempooldescendants | Returns the unconfirmed transactions that depend on one |
UTXO and proofs
| Method | Description |
|---|---|
gettxout | Returns details about a single unspent transaction output |
gettxoutproof | Returns a merkle proof that transactions were included in a block |
Mining methods
| Method | Description |
|---|---|
getmininginfo | Returns mining-related information |
getnetworkhashps | Returns the estimated network hashes per second |
getblocktemplate | Returns the data needed to construct a candidate block |
Utility methods
| Method | Description |
|---|---|
validateaddress | Validates a Dogecoin address and returns information |
verifymessage | Verifies a signed message |
Dogecoin Core is based on an older Bitcoin Core release, so methods added to Bitcoin Core later are not available here. The PSBT family (createpsbt, decodepsbt, combinepsbt, finalizepsbt, converttopsbt), signrawtransactionwithkey, getblockstats, testmempoolaccept, and getrpcinfo are absent; use createrawtransaction and signrawtransaction in place of the PSBT workflow. Methods specific to other forks, such as Bitcoin Cash Node's getfinalizedblockhash, do not exist on Dogecoin either.
Call help with no parameter to get the authoritative list from the node itself.
Wallet methods are not available
Dogecoin Core's wallet RPC methods — listunspent, listtransactions, getbalance, sendtoaddress, getnewaddress, dumpprivkey, importprivkey, walletpassphrase, and the rest — operate on a wallet loaded on the node itself. Shared nodes carry no user wallets, so these methods are disabled and are not documented here.
Address-level questions are answered by the Blockbook add-on instead:
| Dogecoin Core wallet method | Blockbook REST equivalent |
|---|---|
listunspent | /api/v2/utxo/{address} |
listtransactions | /api/v2/address/{address}?details=txs |
getbalance | /api/v2/address/{address}?details=basic |
getreceivedbyaddress | /api/v2/address/{address}?details=basic |
gettransaction | /api/v2/tx/{txid} |
gettxout reports a single outpoint that the caller already knows. It cannot list the outputs belonging to an address, which is the query most integrations actually need. Use the Blockbook UTXO endpoint for that.
Support
- Support: support@getblock.io