Skip to main content
POST
Returns pre-built transaction for the given stake request. It is assumed that transaction will be signed and sent by the sender via wallet

Authorizations

X-Api-Key
string
header
required

Body

application/json
sender_address
string
required
Example:

"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"

amount
number<double>
required
Example:

0.05

token_address
string
required
Example:

"EQDY6PMeMbQSz7dltNN4RRTIxyuBJX4dQESOy8cWR2tUgBxH"

referral_name
string
Example:

"tonkeeper"

Response

transaction for stake

payload_cell
file
required

Base64-encoded cell. Treated as a payload field in TonConnect transaction.

address
string
required
Example:

"EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez"

value
string<int128>
required

Amount of nanotons to be sent. Can be passed to TonConnect transaction.

state_init
file

Base64-encoded cell. Treated as a stateInit field in TonConnect transaction.

extra
object[]