Dogecoin is a proof-of-work Layer 1 cryptocurrency adapted from Bitcoin Core that uses Scrypt mining and is merge-mined with Litecoin through AuxPoW.
Dogecoin follows Bitcoin's UTXO model: transactions consume unspent outputs and create new ones, and balances are derived from those outputs. Dogecoin Core is adapted from Bitcoin Core, so its JSON-RPC API uses the familiar bitcoind-style methods for blocks, transactions, and raw transaction broadcasting. Mainnet addresses are Base58Check-encoded and start with D for pay-to-public-key-hash or with 9 or A for pay-to-script-hash, and fees are paid in DOGE.
Dogecoin RPC endpoints
HTTP requests take your API key in the x-api-key header. See Authentication.
For example, this request sends getblockcount to Dogecoin Mainnet through the JSON-RPC interface:
curl 'https://dogecoin-mainnet.gateway.tatum.io' \
--header 'content-type: application/json' \
--header 'x-api-key: {YOUR_API_KEY}' \
--data '{"jsonrpc":"2.0","method":"getblockcount","params":[],"id":1}'Don't have an API key?
Sign up to Dashboard and create your API keys today. Get higher limits and use debugging tools.
Dogecoin RPC at a glance
- Networks: Mainnet (Tier 1) and Testnet (Tier 2)
- Interfaces: JSON-RPC and REST
- Supported methods: 43 · JSON-RPC methods · REST API endpoints
- Native token:
DOGE - Block explorers: Mainnet · Testnet
- Network status: Mainnet · Testnet
- Authentication: API key in the
x-api-keyheader, see Authentication
Try Dogecoin RPC
Get the latest Dogecoin block
Sends getblockcount to Dogecoin Mainnet through Tatum RPC Gateway and shows the latest block number.
Get the Dogecoin node version
Sends getblockchaininfo to Dogecoin Mainnet through Tatum RPC Gateway and shows the node version and status.
To try more Dogecoin methods, open the Dogecoin Postman collection, set the gateway-api-key variable of the Tatum Gateway environment to your API key, and send any request.
Dogecoin RPC methods
Methods each Dogecoin interface supports, listed live from Tatum RPC Gateway.
JSON-RPC
32 methods on Mainnet and Testnet. What each one does: Dogecoin JSON-RPC methods.
createrawtransaction, decoderawtransaction, decodescript, estimatefee, estimatesmartfee, getbestblockhash, getblock, getblockchaininfo, getblockcount, getblockhash, getblockheader, getblockstats, getchaintips, getdifficulty, getmempoolancestors, getmempoolcluster, getmempooldescendants, getmempoolentry, getmempoolfeeratediagram, getmempoolinfo, getnetworkinfo, getrawmempool, getrawtransaction, gettxout, gettxoutproof, searchrawtransactions, sendrawtransaction, submitpackage, testmempoolaccept, validateaddress, verifymessage, verifytxoutproof
REST API
11 endpoints on Mainnet and Testnet. What each one does: Dogecoin REST API endpoints.
GET /block/{block-hash}, GET /block/notxdetails/{block-hash}, GET /blockhashbyheight/{height}, GET /chaininfo.json, GET /getutxos/{outpoint}/{outpoint}/.../{outpoint}, GET /getutxos/checkmempool/{outpoint}/{outpoint}/.../{outpoint}, GET /headers/{block-hash}, GET /headers/{count}/{block-hash}, GET /mempool/contents.json, GET /mempool/info.json, GET /tx/{tx-hash}
Every endpoint also lists its methods at runtime: /_methods (JSON) and /llms.txt (text), for example Dogecoin Mainnet /_methods.
Method unavailable?If you need a method we don't support yet, contact support.
Related
- Dogecoin RPC nodes on tatum.io: plans, pricing and dedicated nodes
- Supported Blockchains: every chain on Tatum RPC Gateway and its network tiers
- Dogecoin official website: chain documentation
Testing without an API key? Free public endpoints are listed on Dogecoin RPC at FREERPC.com.