DEX

Live GnoSwap router quote for a route (read-only, no state change).

get/api/v2/dex/quote

Request

  • Base URL: https://gnopulse.xyz
  • URL: https://gnopulse.xyz/api/v2/dex/quote
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

instring required

Input token path (e.g. gno.land/r/gnoland/wugnot).

outstring required

Output token path.

amountstring required

Input amount in the token's base units.

routestring required

A route string from /v2/dex/route to price.

quote_arrstring

Per-hop split weights matching route (e.g. '100').

fresh'0' | '1'

Bypass the quote cache and read the router live.

Response

OK

dataobject
errorunknown

Changes

No recorded changes to this operation across all 1 revision of this API.