Staking
Build transaction to close position and withdraw all money
delete/v2/staking/{master_address}/positions/{address}/{id}
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
master_addressstring required
Example:EQCMtrnKhK82Yw6xHrLm_rJLkMYxeYIilhdmn6BnVGZ1PnBM
addressstring required
Example:UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV
idinteger required
Headers
x-verifystring required
TON proof for the given address
Response
Boc to close with queryId to observe
Example response
{
"message": {
"address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez"
}
}Changes
No recorded changes to this operation across all 7 revisions of this API.