{"id":"XE-9427","kind":"bounty","visibility":"public","source":"web","source_repo":"","source_ref":"","source_url":"","reporter_id":1729,"title":"GET /node returns 3 always-present fields the OpenAPI spec never declares","area":"sdk-docs-web","claimed_tier":"minor","assessed_tier":null,"verdict":"duplicate","duplicate_of":null,"tracked":false,"internal_ref":"","internal_url":"","status":"closed","closed_reason":"duplicate","github_state":"","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-11-12T04:44:46.254454+00:00","updated_at":"2026-11-20T00:33:18.026100+00:00","source_created_at":null,"told_at":"2026-11-20T00:33:18.044910+00:00","status_changed_at":"2026-11-20T00:33:18.034104+00:00","url":"https://bounty.xe.network/XE-9427","body":"# C1 — GET /node returns 3 always-present fields the OpenAPI spec never declares\n\n- Suggested severity: Minor (spec incompleteness)\n- Area: API / OpenAPI spec accuracy\n- Endpoint: GET https://test.network/api/v1/node\n- Spec: https://test.network/openapi.json — component `NodeInfo`\n- Live node at time of check: testnet-0005, version xe/3019b76 (2026-11-11 ~22:30 WIB)\n\n## Summary\n`GET /node` returns three fields on every call that the OpenAPI spec never declares:\n`pending_sends`, `dropped_blocks`, `delegation_underflows`. Any client generated\nfrom the spec (or validating responses against it) will miss live data the node\nalways emits.\n\n## Reproduction\n```\ncurl -s https://test.network/api/v1/node | python3 -m json.tool | grep -E 'pending_sends|dropped_blocks|delegation_underflows'\n```\nObserved on 2026-11-11 ~22:30 WIB (full response saved locally as evidence/node.json):\n```json\n\"pending_sends\": 337509,\n\"dropped_blocks\": 56,\n\"delegation_underflows\": 0\n```\nAll three are present on every call, not conditional.\n\n## Source (xeprotocol/xe, HEAD 89a542e)\n- `node/node.go:1165-1167` — `DroppedBlocks`, `DelegationUnderflows` emitted with no `omitempty`\n- `node/observability.go:67` — `PendingSends`\n- Spec `NodeInfo` declares neither field. (The spec has `additionalProperties: true`,\n  so this is a documentation gap rather than a contract break.)\n\n## Precedent / duplicate check\n- No `/node` ticket exists on the public board (checked 2026-11-11).\n- Same shape was accepted as a report class before: XE-4504 (`/statechain/tip`\n  undeclared fields) is still open, so the team entertains this class.\n\n## Also noticed (same endpoint)\nThe `certificate` sub-object declares `expires_at` and `hash`, which the live\nresponse omits (live returns only `{\"valid\": false}`).\n\n## Impact\nLow. Spec consumers miss three live operational counters; no funds or consensus\nimpact. Suggested tier: Minor.\n\n## Payout\nXE address: f43252a1be112119af944effa878cd2820e2adf0c0d802f38118c62985323428","patch_refs":[],"thread":[{"id":13200,"source":"desk","source_ref":"reply:11222","author":"Joseph Denne","team":true,"body":"Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the\nfirst verifiable submission, so this one closes as a duplicate. If you believe it is a different\nbug, file a new report that links https://bounty.xe.network/XE-9427 and says what differs; it is read like any other.","created_at":"2026-11-20T00:33:18.026100+00:00"}]}