Dogecoin JSON-RPC API
GetBlock provides fast and reliable access to Dogecoin nodes via JSON-RPC API. Connect to the Dogecoin network without running your own infrastructure.
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.
Base URL
https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/Request Format
Every request is a POST carrying a JSON-RPC 2.0 body:
curl --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
Returns state information about blockchain processing
Returns the hash of the current chain tip
Returns the number of blocks in the longest blockchain
Returns the current mining difficulty
Returns information about all known tips in the block tree
Returns an object containing various state info about the node
Returns the number of connections to other nodes
Returns information about the node's memory usage
Lists every command the node exposes, or describes one
Block retrieval
Returns block data for a given block hash
Returns the hash of the block at a given height
Returns a block header without its transactions
Transaction methods
Returns the raw transaction data for a given transaction id
Decodes a hex-encoded raw transaction and returns it as JSON
Creates a raw transaction spending the given inputs
Signs inputs for a serialized, hex-encoded raw transaction
Broadcasts a signed transaction and returns its id
Decodes a hex-encoded script
Mempool methods
Returns the transaction ids of everything in the memory pool
Returns details on the active state of the memory pool
Returns mempool data for a single queued transaction
Returns the unconfirmed transactions a transaction depends on
Returns the unconfirmed transactions that depend on one
UTXO and proofs
Returns details about a single unspent transaction output
Returns a merkle proof that transactions were included in a block
Mining methods
Returns mining-related information
Returns the estimated network hashes per second
Returns the data needed to construct a candidate block
Utility methods
Validates a Dogecoin address and returns information
Verifies a signed message
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:
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}
Support
Support: support@getblock.io
Last updated
Was this helpful?