---
title: "Edit Bid"
method: GET
path: "/tx/edit_bid"
tags: ["Marketplace"]
---

# Edit Bid

`GET /tx/edit_bid`

Creates the transaction to edit a bid

## Query parameters

- `bidStateAddress` string, required
- `blockhash` string, required
- `price` number, float
- `quantity` integer
- `expireIn` integer
- `makerBroker` string
- `privateTaker` string
- `useSharedEscrow` boolean
- `compute` integer
- `priorityMicroLamports` integer

## Response `200`

Ok

- BidResponse
  - `txs` OnchainTx[], required
    - `tx` string, byte, nullable
    - `txV0` string, byte, required
    - `lastValidBlockHeight` number, double, nullable
    - `metadata` object, nullable
  - `bidState` string, required

## Other responses

- `400`
- `422` — Validation Error

---

[API](https://skmtc.net/tensor/apis/trading-api.md) · [All operations](https://skmtc.net/tensor/apis/trading-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tensor/trading-api/versions/9b2ca326bf47/schema)
