Dogecoin (DOGE)
Overview
Dogecoin is a decentralized, peer-to-peer cryptocurrency that was created in December 2013 as a lighthearted alternative to Bitcoin. Originally started as a joke based on the popular "Doge" Shiba Inu meme, Dogecoin has grown into a legitimate digital currency with a vibrant, philanthropic community.
Key Features
- Fast Transactions: 1-minute block time (vs Bitcoin's 10 minutes)
- Low Fees: Transaction fees are significantly lower than Bitcoin
- Inflationary Supply: No maximum supply cap, with ~5 billion new DOGE mined annually
- Scrypt Algorithm: Uses Scrypt proof-of-work, merged mining with Litecoin
- Active Community: Large, engaged community focused on tipping and charitable giving
- Wide Adoption: Accepted by many merchants and supported by major exchanges
Network Information
| Property | Value |
|---|---|
| Network Name | Dogecoin Mainnet |
| Currency Symbol | DOGE |
| Block Time | ~1 minute |
| Consensus | Proof of Work (Scrypt) |
| RPC Port | 22555 |
| P2P Port | 22556 |
| Address Prefix | D (mainnet) |
| Smallest Unit | 1 Koinu = 0.00000001 DOGE |
Base URL
bashhttps://shared.eu-central-1.getblock.ioAvailable API Interface
| Network | JSON RPC | REST | Blockbook (REST) | Blockbook (WebSocket) |
|---|---|---|---|---|
| Mainnet | ✅ | ✅ | ✅ | ✅ |
JSON-RPC is the Dogecoin Core node interface. Blockbook is a separate add-on providing an address- and xpub-indexed view of the chain, and its REST and WebSocket interfaces are provisioned as their own endpoints with their own URLs. A JSON-RPC endpoint does not answer address, UTXO, or wallet queries, and the Dogecoin Core wallet RPCs such as listunspent are disabled on shared nodes. See the Blockbook add-on.
Quickstart
In this section, you will learn how to make your first call with either:
- Axios
- Python
Setup project
bash
mkdir dogecoin-api-quickstart && cd dogecoin-api-quickstart && npm init --yesInstall Axios
bash
npm install axiosAdd code
index.js
javascript
import axios from 'axios' let data = JSON.stringify({ "jsonrpc": "2.0", "method": "getinfo", "params": [], "id": "getblock.io" }); let config = { method: "post", maxBodyLength: Infinity, url: "https://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>", headers: { "Content-Type": "application/json", }, data: data, }; axios .request(config) .then((response) => { console.log(JSON.stringify(response.data)); }) .catch((error) => { console.log(error); });Run the script
bash
node index.jsResponse
bash
{ "result": { "version": 1140900, "protocolversion": 70015, "blocks": 6010614, "timeoffset": 0, "connections": 8, "proxy": "", "difficulty": 45990648.91368412, "testnet": false, "paytxfee": 0.01000000, "relayfee": 0.00100000, "errors": "" }, "error": null, "id": "getblock.io" }
Setup project
bash
mkdir dogecoin-api-quickstart && cd dogecoin-api-quickstart python -m venv venv && source venv/bin/activateInstall requests
bash
pip install requestsAdd code
main.py
python
import requests import json url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/" payload = json.dumps({ "jsonrpc": "2.0", "method": "getinfo", "params": [], "id": "getblock.io" }) headers = { 'Content-Type': 'application/json' } response = requests.post(url, headers=headers, data=payload) print(response.text)Run the script
bash
python main.py
Available API Methods
Dogecoin is documented across three interfaces, each provisioned as its own endpoint.
- Dogecoin JSON-RPC API: The Dogecoin Core node interface: blocks, raw transactions, individual unspent outputs, and node and mining state.
- Dogecoin Blockbook REST API: Address- and xpub-indexed queries over HTTP: balances, transaction history, unspent outputs, balance history, and fiat rates.
- Dogecoin Blockbook (WebSocket) API: The same indexed queries over a persistent connection, plus subscriptions to new blocks and to activity on a set of addresses.
Two Dogecoin behaviours catch integrations out. A one-block fee target returns -1, which becomes a negative fee if multiplied out unchecked. And blocks target one minute, so a confirmation depth copied from a Bitcoin integration settles in roughly a tenth of the wall-clock time. Both are covered in the Blockbook REST reference.
Support
For technical support and questions:
- Support: support@getblock.io