Yield
Returns detailed information about user's position in the pool
get/v1/yield/pool/{pool_address}/{user_address}
Request
- Base URLhttps://backend.swap.coffee
- Auth
- none
- or API key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
pool_addressstring required
Pool address
user_addressstring required
User address
Response
Detailed information about user's position in requested pool, with incentives and so on
Example response
{
"pool": {
"boosts": [
{
"token": {
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ"
}
}
}
]
}
}Changes
No recorded changes to this operation across all 7 revisions of this API.