---
title: "Returns pre-built transaction for the given stake request. It is assumed that transaction will be signed and sent by the sender via wallet"
method: POST
path: "/v2/stake/ton/transaction"
tags: ["Routing"]
---

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

`POST /v2/stake/ton/transaction`

## Request body

- ApiTonStakingTransactionRequest
  - `referral_name` string
  - `sender_address` string, required
  - `amount` number, double, required
  - `token_address` string, required

## Response `200`

transaction for stake

- ApiTransactionBoc
  - `payload_cell` string, base64, required — Base64-encoded cell. Treated as a payload field in TonConnect transaction.
  - `address` string, required
  - `value` string, int128, required — Amount of nanotons to be sent. Can be passed to TonConnect transaction.
  - `state_init` string, base64 — Base64-encoded cell. Treated as a stateInit field in TonConnect transaction.
  - `extra` ApiExtraCurrency[]
    - `id` integer, required
    - `amount` string, int128, required

## Other responses

- `default` — Some error during request processing

---

[API](https://skmtc.net/swap/apis/swap-coffee-api.md) · [All operations](https://skmtc.net/swap/apis/swap-coffee-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/swap/swap-coffee-api/revisions/2d1b51b5df52/schema)
