GET /node returns 3 always-present fields the OpenAPI spec never declares
Report
C1 — GET /node returns 3 always-present fields the OpenAPI spec never declares
- Suggested severity: Minor (spec incompleteness)
- Area: API / OpenAPI spec accuracy
- Endpoint: GET https://test.network/api/v1/node
- Spec: https://test.network/openapi.json — component
NodeInfo - Live node at time of check: testnet-0005, version xe/3019b76 (2026-11-11 ~22:30 WIB)
Summary
GET /node returns three fields on every call that the OpenAPI spec never declares:
pending_sends, dropped_blocks, delegation_underflows. Any client generated
from the spec (or validating responses against it) will miss live data the node
always emits.
Reproduction
curl -s https://test.network/api/v1/node | python3 -m json.tool | grep -E 'pending_sends|dropped_blocks|delegation_underflows'
Observed on 2026-11-11 ~22:30 WIB (full response saved locally as evidence/node.json):
"pending_sends": 337509,
"dropped_blocks": 56,
"delegation_underflows": 0
All three are present on every call, not conditional.
Source (xeprotocol/xe, HEAD 89a542e)
node/node.go:1165-1167—DroppedBlocks,DelegationUnderflowsemitted with noomitemptynode/observability.go:67—PendingSends- Spec
NodeInfodeclares neither field. (The spec hasadditionalProperties: true, so this is a documentation gap rather than a contract break.)
Precedent / duplicate check
- No
/nodeticket exists on the public board (checked 2026-11-11). - Same shape was accepted as a report class before: XE-4504 (
/statechain/tipundeclared fields) is still open, so the team entertains this class.
Also noticed (same endpoint)
The certificate sub-object declares expires_at and hash, which the live
response omits (live returns only {"valid": false}).
Impact
Low. Spec consumers miss three live operational counters; no funds or consensus impact. Suggested tier: Minor.
Payout
XE address: f43252a1be112119af944effa878cd2820e2adf0c0d802f38118c62985323428
Thread
Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the first verifiable submission, so this one closes as a duplicate. If you believe it is a different bug, file a new report that links https://bounty.xe.network/XE-9427 and says what differs; it is read like any other.