curl --request GET \
--url https://backend.swap.coffee/v2/staking/{master_address}
{
"total_points": 123,
"apr": 123,
"total_locked_native": 123,
"locked_tokens": [
{
"token": {
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ",
"decimals": 123,
"image_url": "<string>",
"listed": true,
"verification": "whitelisted"
}
},
"normalizer": 123,
"price_per_token_usd": 123
}
],
"distributed_rewards": [
{
"token_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"asset_usd": 123,
"asset_raw": 123
}
],
"actual_rewards": [
{
"token_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"end_distribution_unix": 123,
"reward_rate": 123
}
],
"periods": [
{
"period_id": 123,
"percentage": 123,
"lock_duration": 123
}
],
"calculated_at_time": 123
}
curl --request GET \
--url https://backend.swap.coffee/v2/staking/{master_address}
{
"total_points": 123,
"apr": 123,
"total_locked_native": 123,
"locked_tokens": [
{
"token": {
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ",
"decimals": 123,
"image_url": "<string>",
"listed": true,
"verification": "whitelisted"
}
},
"normalizer": 123,
"price_per_token_usd": 123
}
],
"distributed_rewards": [
{
"token_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"asset_usd": 123,
"asset_raw": 123
}
],
"actual_rewards": [
{
"token_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"end_distribution_unix": 123,
"reward_rate": 123
}
],
"periods": [
{
"period_id": 123,
"percentage": 123,
"lock_duration": 123
}
],
"calculated_at_time": 123
}
"EQCMtrnKhK82Yw6xHrLm_rJLkMYxeYIilhdmn6BnVGZ1PnBM"
Aggregated staked info
The response is of type object
.