---
title: "Retrieves a transaction to sign (Solana token-to-pix)"
method: GET
path: "/superuser/sell/token-to-pix/solana/request-tx"
tags: ["Sell Operations"]
---

# Retrieves a transaction to sign (Solana token-to-pix)

`GET /superuser/sell/token-to-pix/solana/request-tx`

## Request

- Base URL: `https://api.brla.digital:5567/v1`
- URL: `https://api.brla.digital:5567/v1/superuser/sell/token-to-pix/solana/request-tx`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key` and API key in header `X-API-Signature` and API key in header `X-API-Timestamp`
- TypeScript: <https://skmtc.dev/brla/apis/brla-superuser-api/docs/superuser/sell/token-to-pix/solana/request-tx/get.ts> (a function with typed inputs; its response is checked against the schema)

Generates a raw transaction for the user to sign when performing a token-to-pix on Solana. User must provide fromWalletAddress and an amount (with up to 9 decimals).

## Query parameters

- `fromWalletAddress` string, required
- `amount` string, required

## Response `200`

Transaction to sign retrieved

- GetPixToTokenSolanaTxToSignOutput
  - `transactionToSign` string: Raw transaction in base64 that the user must sign

## Other responses

- `400`: Input could not be validated
- `401`: Authorization failure
- `429`: Rate limited
- `500`: Error internal to the server which probably shouldn't have happened, try again later

---

[API](https://skmtc.dev/brla/apis/brla-superuser-api.md) - [All operations](https://skmtc.dev/brla/apis/brla-superuser-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brla/apis/brla-superuser-api/revisions/236b95ba5c14?raw)
