---
title: "Get instruction to deposit SOL into a pool for buying"
method: GET
path: "/instructions/mmm/sol-deposit-buy"
tags: ["mmm", "instructions"]
---

# Get instruction to deposit SOL into a pool for buying

`GET /instructions/mmm/sol-deposit-buy`

## Request

- Base URL: `https://api-mainnet.magiceden.dev/v2`
- URL: `https://api-mainnet.magiceden.dev/v2/instructions/mmm/sol-deposit-buy`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/magiceden/apis/magic-eden-api/docs/instructions/mmm/sol-deposit-buy/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `pool` string, required
- `solAmount` number, required
- `priorityFee` number

## Response `200`

successful operation

- Transaction
  - `tx` IBuffer, required
    - `type` 'Buffer', required
    - `data` number[], required
  - `txSigned` IBuffer
    - `type` 'Buffer', required
    - `data` number[], required

---

[API](https://skmtc.dev/magiceden/apis/magic-eden-api.md) - [All operations](https://skmtc.dev/magiceden/apis/magic-eden-api/llms.txt) - [OpenAPI document](https://skmtc.dev/magiceden/apis/magic-eden-api/revisions/66028b292693?raw)
