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

PropertyValue
Network NameDogecoin Mainnet
Currency SymbolDOGE
Block Time~1 minute
ConsensusProof of Work (Scrypt)
RPC Port22555
P2P Port22556
Address PrefixD (mainnet)
Smallest Unit1 Koinu = 0.00000001 DOGE

Base URL

bashhttps://shared.eu-central-1.getblock.io

Available API Interface

NetworkJSON RPCRESTBlockbook (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
  1. Setup project

    bashmkdir dogecoin-api-quickstart && cd dogecoin-api-quickstart && npm init --yes
  2. Install Axios

    bashnpm install axios
  3. Add code

    index.js

    javascriptimport 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);
      });
  4. Run the script

    bashnode index.js
  5. Response

    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"
    }
  1. Setup project

    bashmkdir dogecoin-api-quickstart && cd dogecoin-api-quickstart
    python -m venv venv && source venv/bin/activate
  2. Install requests

    bashpip install requests
  3. Add code

    main.py

    pythonimport 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)
  4. Run the script

    bashpython main.py

Available API Methods

Dogecoin is documented across three interfaces, each provisioned as its own endpoint.

  1. Dogecoin JSON-RPC API: The Dogecoin Core node interface: blocks, raw transactions, individual unspent outputs, and node and mining state.
  2. Dogecoin Blockbook REST API: Address- and xpub-indexed queries over HTTP: balances, transaction history, unspent outputs, balance history, and fiat rates.
  3. 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:

See Also