> ## 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.

# Submit a gasless swap

> The owner's signature of `gasless.typedData` from a `gasless=1` quote. Route quotes again, checks the signed fee still
covers gas and the price has not moved more than 0.25% against the user, then its relayer sends the swap. Each order
is sent once. Keys with gasless on. Robinhood Chain.




## OpenAPI

````yaml openapi.yaml POST /gasless/submit
openapi: 3.1.0
info:
  title: Route API
  version: '2026-10-30'
  summary: >-
    Best-price swaps. One request returns the quote and a ready-to-sign
    transaction.
  description: >
    Robinhood Chain (chain ID 4663) at the root. Other EVM chains use the same
    `/quote`, `/tokens` and `/health` under a chain

    prefix, for example `https://partners.route.fun/base/quote` (see the chains
    page). Solana is under `/solana` with its own

    fields (see the Solana pages); it is not described in this file.


    Access: the public tier needs no key (`/quote` and `/health`; per-IP limits;
    CORS allowed). A partner key (`rk_...`, DM

    @rapidssh) is sent as `Authorization: Bearer rk_...` from a backend. Submit
    and track, gasless swaps, standing orders,

    delegated execution and partner fees are switched on per key; when off they
    return 403.


    Conventions: the native token is the zero address. Amounts are raw token
    units as decimal strings. Every response has an

    `x-request-id` header; send your own (1 to 64 characters of `A-Za-z0-9._:-`)
    to trace a request.


    Route contracts are source-verified on Sourcify. None has had a formal
    third-party audit.
  contact:
    name: '@rapidssh'
    url: https://x.com/rapidssh
servers:
  - url: https://partners.route.fun
security:
  - {}
  - partnerKey: []
tags:
  - name: Swaps
  - name: Submit and track
  - name: Gasless
  - name: Standing orders
  - name: Delegated execution
paths:
  /gasless/submit:
    post:
      tags:
        - Gasless
      summary: Submit a gasless swap
      description: >
        The owner's signature of `gasless.typedData` from a `gasless=1` quote.
        Route quotes again, checks the signed fee still

        covers gas and the price has not moved more than 0.25% against the user,
        then its relayer sends the swap. Each order

        is sent once. Keys with gasless on. Robinhood Chain.
      operationId: gaslessSubmit
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GaslessSubmit'
      responses:
        '200':
          description: Sent.
          content:
            application/json:
              schema:
                type: object
                properties:
                  hash:
                    type: string
                    description: Transaction hash.
                  id:
                    type: string
                    description: Same as `hash`; use with `GET /status/{id}`.
                  fee:
                    $ref: '#/components/schemas/Uint'
                  swap:
                    $ref: '#/components/schemas/Swap'
                  status:
                    type: string
                    description: Present when the key has submit and track.
        '400':
          $ref: '#/components/responses/BadRequest'
        '403':
          description: Gasless swaps are not on for this key.
        '422':
          description: >-
            `requote: true`: no route clears the signed minimum, or the price
            moved. Quote and sign again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
        - partnerKey: []
components:
  schemas:
    GaslessSubmit:
      type: object
      required:
        - order
        - nonce
        - signature
        - ticket
      properties:
        order:
          type: object
          description: '`gasless.order`, as returned.'
        nonce:
          type: string
          description: '`gasless.nonce`.'
        signature:
          type: string
          description: The owner's 65-byte signature of `gasless.typedData`.
        ticket:
          type: string
          description: '`gasless.ticket`.'
        erc2612:
          type: object
          description: When `gasless.approval.erc2612` was returned.
          properties:
            signature:
              type: string
            value:
              type: string
            deadline:
              type: string
    Uint:
      type: string
      pattern: ^[0-9]+$
      description: Unsigned integer as a decimal string.
    Swap:
      type: object
      description: Present only with `recipient`. The terms the transaction enforces.
      properties:
        amountOut:
          $ref: '#/components/schemas/Uint'
          description: Output before fees.
        fee:
          $ref: '#/components/schemas/Uint'
          description: Route fee in output-token units.
        feeBps:
          type: integer
          description: Route fee rate.
        netOut:
          $ref: '#/components/schemas/Uint'
          description: Expected output for the recipient, after fees.
        minOut:
          $ref: '#/components/schemas/Uint'
          description: The least the recipient receives; below it the transaction reverts.
        deadline:
          type: integer
          description: Unix seconds.
        recipient:
          $ref: '#/components/schemas/Address'
        executorGas:
          $ref: '#/components/schemas/Uint'
          description: Gas used through Route's contract at the quote block.
        spender:
          $ref: '#/components/schemas/Address'
          description: >-
            Address to approve for ERC-20 input: `tx.to`, or Permit2 with
            `permit2=1`.
        executor:
          type: string
          description: '`entry` for RouteEntry builds (Robinhood Chain).'
    Error:
      type: object
      required:
        - error
      properties:
        requestId:
          type: string
        error:
          type: string
        requote:
          type: boolean
    Address:
      type: string
      pattern: ^0x[0-9a-fA-F]{40}$
  responses:
    BadRequest:
      description: >
        Invalid request, for example `Invalid quote parameters`, `Same token: in
        and out must differ ...`, `Invalid recipient`,

        `Invalid slippageBps`, `Invalid deadline`, `Invalid minOut`, `Invalid
        exclude: ...`, or

        `Parameter not available for this key: <name>`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: >-
        `Rate limit exceeded for this key`, `Too many concurrent requests for
        this key`, `Too many live streams for this key`, or the public tier's
        per-IP limit.
      headers:
        retry-after:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  headers:
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
  securitySchemes:
    partnerKey:
      type: http
      scheme: bearer
      description: >-
        Partner key: `Authorization: Bearer rk_...`. DM @rapidssh. Leave it out
        for the public tier.

````

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