Interpret the zero-amount bucket in Monero output histograms

An analytics importer may accidentally classify RingCT outputs as worthless when it encounters a daemon histogram bucket with amount zero. That bucket is an encoding category.

Request the RingCT bucket explicitly

Use a local daemon permitting histogram queries. Inspect the row for amount zero and its total_instances. For historical transparent amounts, query those amounts separately in atomic units. POST this example to /json_rpc on monerod.

{
  "jsonrpc": "2.0",
  "id": "guide",
  "method": "get_output_histogram",
  "params": {
    "amounts": [
      0
    ]
  }
}

Report counts without inventing a value

The zero bucket counts confidential-amount outputs. Multiplying its count by zero would incorrectly assign a monetary value to hidden amounts. It is a historical output count; the same output remains part of chain history after a spend. This query cannot determine a wallet's available balance.

docs.getmonero.org get_output_histogram