<!-- XE-4504 · openapi: /statechain/tip returns `prev_hash`, `signatures` and `timestamp`, none of which the contract declares · testnet -->
*Markdown view of <https://bounty.xe.network/XE-4504>. The page is the record; this is the same page for reading.*

XE-4504 · Bounty

# openapi: /statechain/tip returns \`prev\_hash\`, \`signatures\` and \`timestamp\`, none of which the contract declares

Closed · duplicate
—claimed Medium
web
filed 2026-11-11 02:26 UTC
by flavyn

Verdict
:   Duplicate

Tier
:   —

Claimed
:   Medium

Area
:   SDK / docs / web

Duplicate of
:   —

Tracked
:   internally

Updated
:   2026-11-15 17:42 UTC

Told
:   2026-11-15 17:42 UTC

### Patches

None linked.

### History

- [284290](https://bounty.xe.network/log/284290) 2026-11-15 17:42 UTC proposal.adopted
- [284289](https://bounty.xe.network/log/284289) 2026-11-15 17:42 UTC reply.sent
- [284288](https://bounty.xe.network/log/284288) 2026-11-15 17:42 UTC ticket.status new → closed
- [283772](https://bounty.xe.network/log/283772) 2026-11-15 17:42 UTC proposal.adopted
- [283771](https://bounty.xe.network/log/283771) 2026-11-15 17:42 UTC proposal.adopted
- [283770](https://bounty.xe.network/log/283770) 2026-11-15 17:42 UTC ticket.facts
- [283769](https://bounty.xe.network/log/283769) 2026-11-15 17:42 UTC proposal.adopted
- [283768](https://bounty.xe.network/log/283768) 2026-11-15 17:42 UTC ticket.facts
- [283767](https://bounty.xe.network/log/283767) 2026-11-15 17:42 UTC proposal.adopted
- [283766](https://bounty.xe.network/log/283766) 2026-11-15 17:42 UTC ticket.facts
- [283765](https://bounty.xe.network/log/283765) 2026-11-15 17:42 UTC proposal.adopted
- [283764](https://bounty.xe.network/log/283764) 2026-11-15 17:42 UTC ticket.facts

[Full history](https://bounty.xe.network/log?ref=XE-4504) · [JSON](https://bounty.xe.network/v1/tickets/XE-4504) · [markdown](https://bounty.xe.network/XE-4504.md)

### 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

**Joseph Denne**team2026-11-15 17:42 UTCdesk

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.
