---
title: "Build transaction to close farm position in stonfi"
method: DELETE
path: "/v1/boost/stonfi/{pool_address}/{position_address}/{user_address}"
tags: ["Boosts"]
---

# Build transaction to close farm position in stonfi

`DELETE /v1/boost/stonfi/{pool_address}/{position_address}/{user_address}`

## Request

- Base URL: `https://backend.swap.coffee`
- URL: `https://backend.swap.coffee/v1/boost/stonfi/{pool_address}/{position_address}/{user_address}`
- Auth: one of:
  - none
  - API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/swap/apis/swap-coffee-api/docs/v1/boost/stonfi/:pool_address/:position_address/:user_address/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `pool_address` string, required
- `position_address` string, required
- `user_address` string, required

## Headers

- `x-verify` string, required

## Response `200`

Transaction to be sent

- ApiTransactionResponse
  - `query_id` integer, required
  - `message` ApiTransactionBoc, required
    - `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.dev/swap/apis/swap-coffee-api.md) - [All operations](https://skmtc.dev/swap/apis/swap-coffee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/swap/apis/swap-coffee-api/revisions/88f42fef59b7?raw)
