User

Get rewards with proofs for the authenticated user

Retrieves all unclaimed rewards for the authenticated user's wallet address along with their Merkle proofs. Each reward includes the merkle root (encoded in Hex), the amount (as string), and the proof (encoded in Hex). This endpoint is used for claiming rewards on-chain.

get/api/user/rewards/proofs

Response

Rewards with proofs retrieved successfully

successboolean
addressstring

The authenticated user's wallet address

Example response

{
  "success": true,
  "address": "0x1234567890abcdef1234567890abcdef12345678",
  "rewards": [
    {
      "merkleRoot": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
      "amount": "1000000000000000000",
      "proof": [
        "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"
      ]
    }
  ]
}

Changes