---
title: "POST /api/v2/quote"
method: POST
path: "/api/v2/quote"
tags: ["QuoteV2"]
---

# POST /api/v2/quote

`POST /api/v2/quote`

## Request body

- QuoteV2RequestDTO
  - `quoteID` string, required — Unique identifier for the quote request
  - `dAppID` string, required
  - `intentExecutionTypes` string[], required — Array of intent execution types to fetch quotes for
  - `quoteRequest` QuoteV2QuoteRequestDTO, required
    - `sourceChainID` number, required
    - `destinationChainID` number, required
    - `sourceToken` string, required
    - `destinationToken` string, required
    - `sourceAmount` string, required
    - `funder` string, required
    - `refundRecipient` string
    - `recipient` string, required
  - `contracts` QuoteV2ContractsRequestDTO
    - `sourcePortal` string — Contract address for the intent source (where intents are created and managed)
    - `destinationPortal` string — Contract address for the inbox (receives and processes cross-chain messages)
    - `prover` string — Contract address for the prover (handles cross-chain proof verification)
  - `gaslessIntentData` GaslessIntentDataV2DTO
    - `permit3` Permit3DTO, required
      - `chainId` number, required — The original chain ID where the request is being signed or executed
      - `permitContract` string, required — Address of the Permit3 contract
      - `owner` string, required — Owner address of the tokens being permitted
      - `salt` string, required — Unique salt value used for EIP-712 signature and nonce tracking
      - `signature` string, required — EIP-712 cryptographic signature from the token owner
      - `deadline` integer, required — Expiration timestamp for the permit signature (uint48)
      - `timestamp` number, required — Unix timestamp when the permit was created (uint48)
      - `merkleRoot` string, required — Merkle root hash representing all chain permit leaves
      - `leaves` string[], required — Optional array of Merkle tree leaves (hashed ChainPermits), useful for client-side debugging or proof regeneration
      - `allowanceOrTransfers` AllowanceOrTransferDTO[], required — Flattened list of all permits across chains used to construct ChainPermits and Merkle tree leaves
        - `chainID` number, required — The chain ID where the allowance or transfer occurs
        - `modeOrExpiration` number, required — Mode for transfer (0) or expiration timestamp for allowance update
        - `tokenKey` string, required — Encoded tokenKey (ERC20: padded address, NFT: hash of token + tokenId)
        - `account` string, required — Account address receiving the allowance or transfer
        - `amountDelta` integer, required — Amount delta for the allowance or transfer (in wei)
    - `allowPartial` boolean — Whether to allow partial funding of the intent

## Response `201`

---

[API](https://skmtc.net/eco/apis/eco-routes-api.md) · [All operations](https://skmtc.net/eco/apis/eco-routes-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eco/eco-routes-api/versions/93b1df7599da/schema)
