> ## Documentation Index
> Fetch the complete documentation index at: https://docs.route.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Gasless swaps on Solana

> Route's relayer pays the network fee and new account rent; the user repays it in the input token.

Partner keys. Add `gasless=true` to a build. Route's relayer becomes the fee payer and funds any new token accounts, and the user
repays it in the input token inside the same transaction. The user needs no SOL.

**1. Build**

`GET /solana/quote` with `recipient` and `gasless=true`. Show `gasless.fee_in` (the repayment, in input-token units) to the user.

**2. Sign**

The user signs `tx`. Do not send it.

**3. Submit**

`POST /solana/gasless/submit` with `{"tx": "<base64 signed transaction>"}` within 90 seconds. Returns `signature`.

**4. Track**

`GET /solana/gasless/status?sig=<signature>` returns the chain status.

Up to 10 gasless swaps a minute per wallet. A trade whose fee would be more than 30% of its input is refused.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.