---
title: "Get state of account claimings"
method: GET
path: "/v1/claim/{address}/state"
tags: ["Claim"]
---

# Get state of account claimings

`GET /v1/claim/{address}/state`

## Path parameters

- `address` string, required

## Query parameters

- `type` 'all' | 'referral' | 'cashback' | 'staking' | 'rewards_stonfi' | 'rewards_dedust' | 'coffee_dex' | 'boost', required
- `size` integer
- `page` integer

## Headers

- `x-verify` string, required

## Response `200`

State of account's claimings

- ApiClaimStateResponse
  - `total_count` integer, required
  - `items` ApiClaimState[], required
    - `type` 'all' | 'referral' | 'cashback' | 'staking' | 'rewards_stonfi' | 'rewards_dedust' | 'coffee_dex' | 'boost', required
    - `query_id` integer, required
    - `unix_time` integer, required — When transaction happened in blockchain - unix seconds
    - `logical_time` integer, required — When transaction happened in blockchain - on-chain logical time
    - `transaction_hash` string, required
    - `token_address` string, required
    - `wallet_address` string, required
    - `amount` number, required
    - `withdrawal` ApiWithdrawal, required
      - `type` 'repay' | 'refund', required
      - `status` 'unhandled' | 'processing' | 'processed', required

## Other responses

- `default` — Some error during request processing

---

[API](https://skmtc.net/swap/apis/swap-coffee-api.md) · [All operations](https://skmtc.net/swap/apis/swap-coffee-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/swap/swap-coffee-api/revisions/8f32977bfb50/schema)
