Skip to main content

Referral Logs

Paginated history of the current user's referral operations.

GET /referral/logs?page=1&page_size=20&action=claim

Auth: Authorization: Bearer <JWT> from the EIP-712 login. API keys are not accepted.

Query parameters

ParamTypeDefaultDescription
pageint1≥ 1
page_sizeint201–100
actionstringcreate_code / bind / rebind / unbind / claim

Response

{
"logs": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"action": "create_code",
"target_address": null,
"referral_code": "4DDDC2D4",
"amount": null,
"old_value": null,
"new_value": null,
"created_at": 1772010604000
}
],
"total": 1,
"page": 1,
"page_size": 20
}

amount is set on claim rows; old_value / new_value on rebind rows.