curl --request GET \
--url https://backend.swap.coffee/v2/staking/{master_address}/{address} \
--header 'X-Api-Key: <api-key>' \
--header 'x-verify: <x-verify>'{
"total_points": 123,
"locked_tokens": [
{
"token_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"asset_usd": 123,
"asset_raw": 123
}
],
"paid_rewards": [
{
"token_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"asset_usd": 123,
"asset_raw": 123
}
],
"positions": [
{
"id": 123,
"locked_asset_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"locked_asset_amount_raw": 123,
"locked_native": 123,
"locked_usd": 123,
"start_lock_seconds_utc": 123,
"end_lock_seconds_utc": 123,
"points_amount": 123,
"period_id": 123,
"available_periods": [
{
"period_id": 123,
"percentage": 123,
"lock_duration": 123
}
],
"earned_rewards": [
{
"token_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"asset_usd": 123,
"asset_raw": 123
}
]
}
]
}curl --request GET \
--url https://backend.swap.coffee/v2/staking/{master_address}/{address} \
--header 'X-Api-Key: <api-key>' \
--header 'x-verify: <x-verify>'{
"total_points": 123,
"locked_tokens": [
{
"token_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"asset_usd": 123,
"asset_raw": 123
}
],
"paid_rewards": [
{
"token_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"asset_usd": 123,
"asset_raw": 123
}
],
"positions": [
{
"id": 123,
"locked_asset_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"locked_asset_amount_raw": 123,
"locked_native": 123,
"locked_usd": 123,
"start_lock_seconds_utc": 123,
"end_lock_seconds_utc": 123,
"points_amount": 123,
"period_id": 123,
"available_periods": [
{
"period_id": 123,
"percentage": 123,
"lock_duration": 123
}
],
"earned_rewards": [
{
"token_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH",
"asset_usd": 123,
"asset_raw": 123
}
]
}
]
}TON proof for the given address
"EQCMtrnKhK82Yw6xHrLm_rJLkMYxeYIilhdmn6BnVGZ1PnBM"
"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"
Aggregated staking info
Show child attributes
Staked token
"EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH"
Staked token amount in raw
Staked token volume converted to main staking token
Show child attributes
Period id, to be passed into protocol.
How much additional points will be accrued.
How much wait till position unlock.