curl --request GET \
--url https://backend.swap.coffee/v1/claim/{address}/state \
--header 'x-verify: <x-verify>'
{
"total_count": 123,
"items": [
{
"type": "all",
"query_id": 123,
"unix_time": 123,
"logical_time": 123,
"transaction_hash": "<string>",
"token_address": "<string>",
"wallet_address": "<string>",
"amount": 123,
"withdrawal": {
"type": "repay",
"status": "unhandled"
}
}
]
}
curl --request GET \
--url https://backend.swap.coffee/v1/claim/{address}/state \
--header 'x-verify: <x-verify>'
{
"total_count": 123,
"items": [
{
"type": "all",
"query_id": 123,
"unix_time": 123,
"logical_time": 123,
"transaction_hash": "<string>",
"token_address": "<string>",
"wallet_address": "<string>",
"amount": 123,
"withdrawal": {
"type": "repay",
"status": "unhandled"
}
}
]
}
TON proof for the given address
"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"
all
, referral
, cashback
, staking
, rewards_stonfi
, rewards_dedust
, coffee_dex
, boost
1 <= x <= 100
x >= 1
State of account's claimings
The response is of type object
.