Staking
Get user's balances of staked tokens
get/v2/staking/{master_address}/{address}/balances
Request
- Base URLhttps://backend.swap.coffee
- Auth
- none
- or API key in header X-Api-Key
- TypeScripthttps://skmtc.dev/swap/apis/swap-coffee-api/docs/v2/staking/:master_address/:address/balances/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
master_addressstring required
Example:EQCMtrnKhK82Yw6xHrLm_rJLkMYxeYIilhdmn6BnVGZ1PnBM
addressstring required
Example:UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV
Headers
x-verifystring required
TON proof for the given address
Response
User's balances
Example response
[
{
"asset_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH"
}
]Changes
No recorded changes to this operation across all 7 revisions of this API.