跳到主要内容

Claim Season Tokens

Intended to generate an EIP-712 signature payload that the user presents to the on-chain contract to claim their season token reward.

POST /v1/points/claim/:distribution_id
Authorization: Bearer <token>

Status: Not yet implemented (空缺).

The route exists and requires a session token, but on-chain claim signing is not configured: every call for an existing distribution record ends with 501. No signature payload shape is defined in backend code, so do not build against one. The distribution engine that would create claimable records is also not implemented (see Overview).

Path Parameters​

ParameterTypeDescription
distribution_idUUIDDistribution record ID (the id field from GET /v1/points/distribution/:season_id)

Request Body​

None.

Responses​

All responses are plain-text bodies (not JSON). Ownership of the record is not checked.

StatusBodyWhen
400invalid distribution_idPath parameter is not a UUID
401missing bearer token / invalid sessionSession token missing, invalid or expired
404distribution not foundNo points.distributions row with that id
501on-chain claim signing is not configuredRecord exists — the current terminal outcome of every valid call