Skip to content

Flash API Introduction

The LiquidMesh Flash API is one of the two core product lines of the LiquidMesh DEX API, alongside the Quote API.

What is Flash API

The Flash API is designed for speed and ease of integration, combining both the quoting and swap generation processes into a single API call.
It consists of one main endpoint:

  • Order API: Directly returns the transaction call data required to perform the swap on-chain, without requiring a separate quote step.

This design makes the Flash API especially suitable for scenarios where fast execution is critical, and advanced routing customization is less important.

Advantages

  • Ultra-fast: Quote and swap generation happen in one request, reducing latency.
  • Easy integration: Simplifies developer workflow by removing the need for a two-step process.

Core Endpoint

Order API

  • Method: POST /v1/{networkId}/order
  • Description: Directly returns executable transaction data for an on-chain swap.
  • Use case: Best for scenarios where execution speed is more important than route flexibility.

Supported Chains & DEXes

Refer to the Supported Chains document for the full list of supported networks and DEX integrations.