v3

latestOpenAPI 3.0.32026-07-21128192192.7 KB
Staking

Build transaction to create new staking position

post/v2/staking/{master_address}/positions/{address}

Path parameters

master_addressstring required
Example:EQCMtrnKhK82Yw6xHrLm_rJLkMYxeYIilhdmn6BnVGZ1PnBM
addressstring required
Example:UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV

Headers

x-verifystring required

TON proof for the given address

Request body

asset_addressstring required

Token to be staked.

amount_to_stake_rawnumber required
period_idinteger required

Lock identifier.

Example request

{
  "asset_address": "EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH"
}

Response

Boc to open position with queryId to observe

query_idinteger required

Example response

{
  "message": {
    "address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez"
  }
}