getSwapQuotes

Free

Get swap quotes from multiple AMMs. Read-only — does not execute a swap.

Try it

Open in playground
kirha tools run xverse_getSwapQuotes \
  --input '{
    "from": {
      "ticker": "<ticker>",
      "protocol": "runes"
    },
    "to": {
      "ticker": "<ticker>",
      "protocol": "runes"
    },
    "amount": "<amount>"
  }'

Uses the key saved by kirha auth login.

  • amountstring, required
  • fromobject, required
    Show 2 fields
    • protocolstring, required

      One of runes, btc

    • tickerstring, required
  • toobject, required
    Show 2 fields
    • protocolstring, required

      One of runes, btc

    • tickerstring, required
  • amountRawstring