---
title: "Buy Transaction [Devnet Only]"
method: GET
path: "/sft/buy"
tags: ["SFTs"]
---

# Buy Transaction \[Devnet Only\]

`GET /sft/buy`

## Request

- Base URL: `https://api.mainnet.tensordev.io/api/v1`
- URL: `https://api.mainnet.tensordev.io/api/v1/sft/buy`
- Auth: API key in header `x-tensor-api-key`

Creates the buy transaction

## Query parameters

- `trader` string, required: A public key
- `market` string, required: A public key
- `amount` number, double, required
- `orderType` string, required

## Response `200`

Ok

- string, byte

## Other responses

- `400`
- `404`
- `422`

---

[API](https://skmtc.dev/tensor/apis/sft-dex-api.md) - [All operations](https://skmtc.dev/tensor/apis/sft-dex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tensor/apis/sft-dex-api/revisions/a0be5457ff44?raw)
