---
title: "Deposit/Withdraw Escrow"
method: GET
path: "/tx/deposit_withdraw_escrow"
tags: ["Shared Escrow"]
---

# Deposit/Withdraw Escrow

`GET /tx/deposit_withdraw_escrow`

Creates the transaction to deposit or withdraw from an escrow account

## Query parameters

- `action` 'DEPOSIT' | 'WITHDRAW', required
- `owner` string, required
- `lamports` number, float, required
- `blockhash` string, required
- `compute` integer
- `priorityMicroLamports` integer

## Response `200`

Ok

- unknown

## 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/revisions/9b2ca326bf47/schema)
