---
title: "Send a signed permit2 transaction to be dispatched by a transaction relayer"
method: POST
path: "/v1/relayer/relay"
---

# Send a signed permit2 transaction to be dispatched by a transaction relayer

`POST /v1/relayer/relay`

## Request

- Base URL: `https://li.quest`
- URL: `https://li.quest/v1/relayer/relay`
- Auth: none declared
- TypeScript: <https://skmtc.dev/lifi/apis/li-fi-api/docs/v1/relayer/relay/post.ts> (a function with typed inputs; its response is checked against the schema)

Submits a gasless transaction to the relayer for execution on-chain.

## Request body

- RelayRequestSchema
  - `tokenOwner` string, required
  - `chainId` number, required
  - `permit` RelayPermitSchema: A set of parameters specifying the token, permitted amount, spender address, nonce (for uniqueness), and deadline (for expiration) in a Permit2 allowance grant.
    - `permitted` PermittedTokenSchema, required
      - `token` string
      - `amount` string
    - `spender` string, required
    - `nonce` string, required
    - `deadline` integer, required
  - `signedPermitData` string
  - `callData` string, required

## Response `200`

- RelayResponse
  - `status` string
  - `data` RelayResponseData
    - `taskId` string

---

[API](https://skmtc.dev/lifi/apis/li-fi-api.md) - [All operations](https://skmtc.dev/lifi/apis/li-fi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lifi/apis/li-fi-api/revisions/82e72a7fa5e0?raw)
