curl --request GET \
--url https://backend.swap.coffee/v1/cashback/
{
"count": 123,
"infos": [
{
"id": 123,
"title": "<string>",
"description": "<string>",
"distributor": "EQCZ_pV6EJNSr6XpvPaa-IVkT6ImqkiPftRMOICJP1B_75wZ",
"reward_token": "EQCZ_pV6EJNSr6XpvPaa-IVkT6ImqkiPftRMOICJP1B_75wZ",
"conditions": [
{
"type": "unique",
"args": [
"<string>"
]
}
],
"distribute": 123,
"distributed": 123,
"start_time_seconds": 123,
"end_time_seconds": 123,
"reward_denominator": 123,
"is_active": true,
"limits": [
{
"limit_id": 123,
"interval_duration_seconds": 123,
"max_distribute_at_interval": 123
}
],
"image_url": "<string>",
"references": [
{
"ref_name": "<string>",
"ref_url": "<string>"
}
],
"is_hidden": true
}
]
}
curl --request GET \
--url https://backend.swap.coffee/v1/cashback/
{
"count": 123,
"infos": [
{
"id": 123,
"title": "<string>",
"description": "<string>",
"distributor": "EQCZ_pV6EJNSr6XpvPaa-IVkT6ImqkiPftRMOICJP1B_75wZ",
"reward_token": "EQCZ_pV6EJNSr6XpvPaa-IVkT6ImqkiPftRMOICJP1B_75wZ",
"conditions": [
{
"type": "unique",
"args": [
"<string>"
]
}
],
"distribute": 123,
"distributed": 123,
"start_time_seconds": 123,
"end_time_seconds": 123,
"reward_denominator": 123,
"is_active": true,
"limits": [
{
"limit_id": 123,
"interval_duration_seconds": 123,
"max_distribute_at_interval": 123
}
],
"image_url": "<string>",
"references": [
{
"ref_name": "<string>",
"ref_url": "<string>"
}
],
"is_hidden": true
}
]
}
Address, from which, token will be distributed to participants
"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"
Cashback token
"EQCZ_pV6EJNSr6XpvPaa-IVkT6ImqkiPftRMOICJP1B_75wZ"
Filter out active promotions only
1 <= x <= 100
x >= 1
Account's cashback info
The response is of type object
.