---
title: "Claim Proof"
method: GET
path: "/api/referrals/proof/{address}"
tags: ["Referrals"]
---

# Claim Proof

`GET /api/referrals/proof/{address}`

## Request

- Base URL: `https://backend-global.gains.trade`
- URL: `https://backend-global.gains.trade/api/referrals/proof/{address}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/gains/apis/gains-network-backend-api/docs/api/referrals/proof/:address/get.ts> (a function with typed inputs; its response is checked against the schema)

Merkle proof against the batch currently active on the distributor. A 404 means nothing is claimable yet, which is a normal state rather than an error. Pass `cumulativeMicroUsdc` to `claim` unchanged; the contract computes the delta.

## Path parameters

- `address` string, required

## Response `200`

Successful response

- object
  - `result` ReferralProof
    - `day` string: UTC day label of the active batch.
    - `cumulativeMicroUsdc` string: Lifetime cumulative entitlement in the active batch. Pass to claim unchanged.
    - `proof` string[]: Merkle proof, bytes32 hex.

## Other responses

- `400`: Invalid address
- `404`: Nothing claimable
- `500`: Internal server error

## Changes

- **2026-11-03** `4b415b6ff9d6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gains/apis/gains-network-backend-api/changes/api/referrals/proof/:address/get.md)

---

[API](https://skmtc.dev/gains/apis/gains-network-backend-api.md) - [All operations](https://skmtc.dev/gains/apis/gains-network-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gains/apis/gains-network-backend-api/revisions/4b415b6ff9d6?raw)
