Dogecoin: Error 64: tx-size

When sending Dogecoin, you may encounter the following error:

{
  "statusCode": 403,
  "errorCode": "doge.blockchain.broadcast.error",
  "message": "Unable to broadcast transaction",
  "cause": "64: tx-size",
  "dashboardLog": "https://dashboard.tatum.io/logs?id=###"
}

What this error means

This error originates from the Dogecoin node. The specific cause 64: tx-size indicates that the transaction exceeds the network's standard size or weight limits. This happens when the transaction is built from too many UTXOs (unspent outputs), making it too large to relay or mine.

Dogecoin, like Bitcoin and other UTXO-based blockchains, enforces a maximum standard transaction weight to ensure network stability. From the Dogecoin codebase:

// The maximum weight for transactions we're willing to relay/mine
static const unsigned int MAX_STANDARD_TX_WEIGHT = 400000;

📘

Note

Dogecoin source code: policy.h and policy.cpp

How to resolve it

If you run into this error, consider the following options:

  1. Break the transaction into smaller chunks
    Sending smaller amounts with fewer UTXOs per transaction will typically avoid the issue.
  2. Consolidate UTXOs gradually
    Over time, you can reduce fragmentation in your wallet by consolidating small UTXOs into larger ones. This makes future transactions more efficient.
  3. Avoid frequent micro-deposits
    Receiving many small deposits leads to a bloated UTXO set. Use batching strategies to reduce this.