openapi: /statechain/tip returns `prev_hash`, `signatures` and `timestamp`, none of which the contract declares
Report
Summary
GET /statechain/tip is documented with exactly three properties: hash, index, ops.
The node returns six: it also emits prev_hash, signatures and timestamp.
Steps to reproduce (read-only, no auth)
curl -s https://ldn.core.test.network/statechain/tip | python -c "import sys,json;print(sorted(json.load(sys.stdin)))"
Actual: ['hash', 'index', 'ops', 'prev_hash', 'signatures', 'timestamp']
Documented (https://test.network/openapi.json, /statechain/tip, 200): hash, index, ops.
Why it matters
The state chain is a signed, hash-linked log; that is the point of it. The two fields that
let a client check the linkage (prev_hash) and the authority (signatures) are not in the
contract, and neither is timestamp, so none of them can be relied on by anything generated
from the spec. A wallet or DAO harness that wants to verify the tip before signing an
activation has to reverse-engineer the response instead of reading the schema.
This is the mirror image of XE-0063 (schemas that are wrong about types): here the schema is incomplete about the fields that carry the security property.
Not a duplicate (checked)
Scanned all 891 public bounty tickets for statechain/tip: zero. The nearest are XE-0397
and XE-3512 (block hash / signing bytes carry no network ID, a consensus issue) and XE-0481
(POST /statechain/blocks status mapping). None describes this response schema.
Suggested fix
Declare the three fields (they are already serialised), or generate the schema from the struct as suggested on the sibling reports.
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-4504 and says what differs; it is read like any other.