Skip to content
PlutoDocs

API reference

Every endpoint of the Pluto API, read from the same openapi.yaml the app's types are generated from.

Base URLs

Three servers, one contract
Productionhttps://api.pluto.exchange/v1Paths start with /v1
Staginghttps://api-staging.pluto.exchange/v1Paths start with /v1
Local mockhttp://127.0.0.1:4010/v1No /v1 prefix
Source: src/lib/api/openapi.yaml → servers

Conventions

Reading a payload
GET /quote?
  tokenIn=0x0000…00001
  &tokenOut=0xb47c…0B65
  &amountIn=10000000000000000002
  &slippageBps=503

← 422
{ "error": { code, message, details } }4
  1. 1Native HYPE: the zero address
  2. 2Amounts: base units as a string
  3. 3bps: 50 = 0.5%
  4. 4Every error has this shape

Endpoints

Endpoints · v0.1.0
  • GET/health

    Liveness + state freshness

    Parameters
    No parameters
    Responses
    200Health503Error
    Example
    {
      "status": "ok",
      "chainId": 99901,
      "headBlock": 13690132,
      "stateBlock": 13690131,
      "lagBlocks": 1,
      "version": "0.1.0"
    }
    curl "$PLUTO_API/health"
  • GET/config

    Bootstrap config for frontends (chain, contracts, fees, limits, flags)

    Parameters
    No parameters
    Responses
    200Config
    Example
    {
      "chain": {
        "chainId": 99901,
        "name": "Elysium",
        "nativeCurrency": {
          "name": "HYPE",
          "symbol": "HYPE",
          "decimals": 18
        },
        "rpcUrls": [
          "https://rpc.elysium.kinetiq.xyz"
        ],
        "explorer": "https://elysium.kinetiq.xyz/explorer"
      },
      "ws": "wss://api.pluto.exchange/v1/stream",
      "contracts": {
        "router": "0x9a1c5e0b7d3f4a2e8c6b1d0f9e8a7b6c5d4e3f21",
        "executor": "0x3b7e2d1c0f9a8b7c6d5e4f3a2b1c0d9e8f7a6b54",
        "orders": "0x5c2f8e1d4a7b0c3e6f9a2d5b8c1e4f7a0d3b6c98",
        "permit2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
        "whype": "0xbA876237B0F021A6c6D852d6c26E107997cC5E81",
        "privacy": {
          "entrypoint": "0x7d4e1a8b2c5f0e3d6a9b2c5e8f1a4d7b0c3e6f12",
          "swapAdapter": "0x1e6b3c8d5a2f7e4b9c1d6a3f8e5b2c7d4a9f6e33"
        }
      },
      "privacy": {
        "pools": [
          {
            "asset": "0x0000000000000000000000000000000000000000",
            "symbol": "HYPE",
            "pool": "0x8f3a6d1c4b7e0a2d5c8f1b4e7a0d3c6f9b2e5a71",
            "scope": "0x1f0a3c5e7b9d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a"
          },
          {
            "asset": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
            "symbol": "USDC",
            "pool": "0x2a5d8b1e4c7f0a3d6b9e2c5f8a1d4b7e0c3f6a99",
            "scope": "0x2e4c6a8f0d2b4e6c8a0f2d4b6e8c0a2f4d6b8e0c2a4f6d8b0e2c4a6f8d0b2e4c"
          }
      …
    curl "$PLUTO_API/config"
  • GET/sources

    Liquidity sources (for exclude-sources UI)

    Parameters
    No parameters
    Responses
    200Source[]
    Example
    [
      {
        "id": "uniswap-v4",
        "name": "Uniswap v4",
        "kind": "v4",
        "pools": 9132
      },
      {
        "id": "v3fork-29cd",
        "name": "V3 fork (0x29cd)",
        "kind": "v3",
        "pools": 412
      },
      {
        "id": "v3fork-efd7",
        "name": "V3 fork (0xEfd7)",
        "kind": "v3",
        "pools": 188
      },
      {
        "id": "uniswap-v3",
        "name": "Uniswap v3",
        "kind": "v3",
        "pools": 37
      },
      {
        "id": "uniswap-v2",
        "name": "Uniswap v2",
        "kind": "v2",
        "pools": 21
      },
      {
        "id": "launchpad-v4",
        "name": "Launchpad PoolManagers",
        "kind": "v4",
        "pools": 640
      },
      {
        "id": "wrap",
        "name": "Wrap HYPE",
      …
    curl "$PLUTO_API/sources"
  • GET/tokens

    Ranked token list / search

    Parameters
    • searchquerystringSymbol, name or exact address
    • limitqueryinteger 1–200 = 50
    • cursorquerystring
    Responses
    200object
    Example
    {
      "tokens": [
        {
          "address": "0x0000000000000000000000000000000000000000",
          "symbol": "HYPE",
          "name": "Hyperliquid",
          "decimals": 18,
          "logoURI": "https://coin-images.coingecko.com/coins/images/50882/large/hyperliquid.jpg",
          "priceUsd": "41.23",
          "liquidityUsd": "18250000.00",
          "volume24hUsd": "9420000.00",
          "createdAt": "2026-11-09T12:00:00Z",
          "verified": true,
          "flags": {
            "feeOnTransfer": false,
            "transferTaxBps": 0,
            "honeypot": false,
            "rebasing": false,
            "newToken": false
          },
          "privateSupported": true
        },
        {
          "address": "0xbA876237B0F021A6c6D852d6c26E107997cC5E81",
          "symbol": "WHYPE",
          "name": "Wrapped HYPE",
          "decimals": 18,
          "logoURI": "https://assets.coingecko.com/coins/images/102180191/large/whype.png",
          "priceUsd": "41.23",
          "liquidityUsd": "15100000.00",
          "volume24hUsd": "8800000.00",
          "createdAt": "2026-11-09T12:00:00Z",
          "verified": true,
          "flags": {
            "feeOnTransfer": false,
            "transferTaxBps": 0,
            "honeypot": false,
            "rebasing": false,
            "newToken": false
          },
      …
    curl "$PLUTO_API/tokens"
  • GET/tokens/{address}

    Single token (unknown addresses are fetched + safety-simulated on the fly)

    Parameters
    • addresspathAddressrequired
    Responses
    200Token400Error
    Example
    {
      "address": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
      "symbol": "USDC",
      "name": "USD Coin",
      "decimals": 6,
      "logoURI": "https://assets.coingecko.com/coins/images/6319/large/USDC.png",
      "priceUsd": "1.0001",
      "liquidityUsd": "8450000.12",
      "volume24hUsd": "6120000.55",
      "createdAt": "2026-11-09T12:00:00Z",
      "verified": true,
      "flags": {
        "feeOnTransfer": false,
        "transferTaxBps": 0,
        "honeypot": false,
        "rebasing": false,
        "newToken": false
      },
      "privateSupported": true
    }
    curl "$PLUTO_API/tokens/<address>"
  • GET/prices

    USD prices (updated every block)

    Parameters
    • addressesquerystringrequiredComma-separated addresses
    Responses
    200object
    Example
    {
      "0x0000000000000000000000000000000000000000": "41.23",
      "0xbA876237B0F021A6c6D852d6c26E107997cC5E81": "41.23",
      "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65": "1.0001"
    }
    curl "$PLUTO_API/prices?addresses=<addresses>"
  • GET/balances/{wallet}

    Balances + Permit2 allowances (multicall-backed convenience)

    Parameters
    • walletpathAddressrequired
    • tokensquerystringrequiredComma-separated token addresses
    Responses
    200object
    Example
    {
      "0x0000000000000000000000000000000000000000": {
        "balance": "12400000000000000000",
        "permit2Allowance": "0"
      },
      "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65": {
        "balance": "1250000000",
        "permit2Allowance": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
      }
    }
    curl "$PLUTO_API/balances/<wallet>?tokens=<tokens>"
  • GET/quote

    Best route quote (exact-in at launch)

    Parameters
    • tokenInqueryAddressrequired
    • tokenOutqueryAddressrequired
    • amountInqueryAmountExact-in amount (one of amountIn/amountOut)
    • amountOutqueryAmountExact-out — returns 501 at launch
    • slippageBpsqueryinteger 0–5000 = 50
    • senderqueryAddress
    • excludeSourcesquerystringComma-separated source ids
    • maxHopsqueryinteger 1–4 = 4
    • maxSplitsqueryinteger 1–16 = 8
    • partnerqueryAddress
    • partnerFeeBpsqueryinteger 0–100
    • verbosequeryboolean = falseInclude full routeGraph
    Responses
    200Quote400Error404Error422Error429Error501Error503Error
    Example
    {
      "quoteId": "q_01JD8X4K2M9P7R3T5V6W8Y0Z1A",
      "blockNumber": 13690131,
      "expiresAt": "2026-11-30T14:00:10Z",
      "tokenIn": "0x0000000000000000000000000000000000000000",
      "tokenOut": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
      "amountIn": "10000000000000000000",
      "amountOut": "412060000",
      "minAmountOut": "410000000",
      "amountOutUsd": "412.10",
      "priceImpactBps": 12,
      "fees": {
        "protocolBps": 0,
        "partnerBps": 0,
        "protocolAmount": "0",
        "partnerAmount": "0"
      },
      "gas": {
        "estimate": "245000",
        "costNative": "122500000000000",
        "costUsd": "0.005"
      },
      "benchmark": {
        "bestSingleSourceOut": "411570000",
        "improvementBps": 12
      },
      "route": {
        "splits": [
          {
            "bps": 7000,
            "hops": [
              {
                "source": "uniswap-v4",
                "pool": "0x3f1e2d4c6b8a0f9e7d5c3b1a2f4e6d8c0b9a7f5e3d1c2b4a6f8e0d9c7b5a3f1e",
                "poolManager": "0xe2e105d3f7209a9da11f83ccf3e7398a753823f1",
                "tokenIn": "0x0000000000000000000000000000000000000000",
                "tokenOut": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
                "feeBps": 30,
                "hooks": null
              }
      …
    curl "$PLUTO_API/quote?tokenIn=<tokenIn>&tokenOut=<tokenOut>"
  • POST/swap

    Build a simulated, ready-to-sign swap transaction (or the approval step needed first)

    Parameters
    No parameters
    Request body · SwapRequest
    {
      "quoteId": "q_01JD8X4K2M9P7R3T5V6W8Y0Z1A",
      "sender": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
      "recipient": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
      "slippageBps": 50,
      "deadlineSec": 60
    }
    Responses
    200SwapResponse400Error409Error422Error429Error
    Example
    {
      "tx": {
        "to": "0x9a1c5e0b7d3f4a2e8c6b1d0f9e8a7b6c5d4e3f21",
        "data": "0x7c0252000000000000000000000000000000000000000000000000000000000000000020",
        "value": "10000000000000000000",
        "gas": "290000",
        "maxFeePerGas": "1000000000",
        "maxPriorityFeePerGas": "0"
      },
      "amountOut": "412060000",
      "minAmountOut": "410000000",
      "blockNumber": 13690132,
      "approval": null
    }
    curl -X POST "$PLUTO_API/swap" \
      -H 'content-type: application/json' \
      -d '{"quoteId":"q_01JD8X4K2M9P7R3T5V6W8Y0Z1A","sender":"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B","recipient":"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B","slippageBps":50,"deadlineSec":60}'
  • GET/swap/status/{txHash}

    Status of a Pluto swap tx

    Parameters
    • txHashpathBytes32required
    Responses
    200SwapStatus
    Example
    {
      "status": "success",
      "blockNumber": 13690134,
      "amountIn": "10000000000000000000",
      "amountOut": "412060000",
      "revertReason": null
    }
    curl "$PLUTO_API/swap/status/<txHash>"
  • GET/history/{wallet}

    Public swaps / order fills through Pluto contracts by this wallet (never private actions)

    Parameters
    • walletpathAddressrequired
    • cursorquerystring
    • limitqueryinteger 1–100 = 25
    Responses
    200object
    Example
    {
      "items": [
        {
          "type": "SWAP",
          "txHash": "0x8e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b",
          "blockNumber": 13690134,
          "timestamp": "2026-11-30T14:00:03Z",
          "tokenIn": "0x0000000000000000000000000000000000000000",
          "tokenOut": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
          "amountIn": "10000000000000000000",
          "amountOut": "412060000",
          "orderHash": null
        },
        {
          "type": "DCA_FILL",
          "txHash": "0x1a3c5e7b9d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c",
          "blockNumber": 13650021,
          "timestamp": "2026-11-30T12:45:10Z",
          "tokenIn": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
          "tokenOut": "0x0000000000000000000000000000000000000000",
          "amountIn": "100000000",
          "amountOut": "2425000000000000000",
          "orderHash": "0xd4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c8e0b2d4f6"
        }
      ],
      "nextCursor": null
    }
    curl "$PLUTO_API/history/<wallet>"
  • POST/orders/typed-data

    Build EIP-712 order (+ Permit2 approval/allowance steps) for the maker to sign

    Parameters
    No parameters
    Request body · OrderParams
    {
      "maker": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
      "tokenIn": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
      "tokenOut": "0x0000000000000000000000000000000000000000",
      "type": "DCA",
      "amountInPerFill": "100000000",
      "minAmountOutPerFill": "0",
      "maxAmountOutPerFill": null,
      "numFills": 12,
      "intervalSec": 3600,
      "startAt": 1796043000,
      "expiresAt": 1798635000,
      "recipient": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"
    }
    Responses
    200OrderTypedDataResponse400Error
    Example
    {
      "orderHash": "0xd4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c8e0b2d4f6",
      "typedData": {
        "domain": {
          "name": "PlutoOrders",
          "version": "1",
          "chainId": 99901,
          "verifyingContract": "0x5c2f8e1d4a7b0c3e6f9a2d5b8c1e4f7a0d3b6c98"
        },
        "primaryType": "Order",
        "types": {
          "Order": [
            {
              "name": "maker",
              "type": "address"
            },
            {
              "name": "tokenIn",
              "type": "address"
            },
            {
              "name": "tokenOut",
              "type": "address"
            },
            {
              "name": "recipient",
              "type": "address"
            },
            {
              "name": "amountInPerFill",
              "type": "uint128"
            },
            {
              "name": "minAmountOutPerFill",
              "type": "uint128"
            },
            {
              "name": "maxAmountOutPerFill",
              "type": "uint128"
            },
      …
    curl -X POST "$PLUTO_API/orders/typed-data" \
      -H 'content-type: application/json' \
      -d '{"maker":"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B","tokenIn":"0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65","tokenOut":"0x0000000000000000000000000000000000000000","type":"DCA","amountInPerFill":"100000000","minAmountOutPerFill":"0","maxAmountOutPerFill":null,"numFills":12,"intervalSec":3600,"startAt":1796043000,"expiresAt":1798635000,"recipient":"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"}'
  • GET/orders

    Orders by maker

    Parameters
    • makerqueryAddressrequired
    • statusqueryOPEN | FILLED | CANCELLED | EXPIRED | ALL
    Responses
    200object
    Example
    {
      "orders": [
        {
          "orderHash": "0xa1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90",
          "type": "LIMIT",
          "status": "OPEN",
          "health": "OK",
          "order": {
            "maker": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
            "tokenIn": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
            "tokenOut": "0x0000000000000000000000000000000000000000",
            "recipient": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
            "amountInPerFill": "100000000",
            "minAmountOutPerFill": "2500000000000000000",
            "maxAmountOutPerFill": "0",
            "numFills": 1,
            "intervalSec": 0,
            "startAt": 1796043000,
            "expiresAt": 1796647800,
            "maxFillerFeeBps": 10,
            "nonce": "8"
          },
          "fillsDone": 0,
          "numFills": 1,
          "amountInFilled": "0",
          "amountOutReceived": "0",
          "nextFillAt": null,
          "avgPrice": null,
          "fills": []
        },
        {
          "orderHash": "0xd4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c8e0b2d4f6",
          "type": "DCA",
          "status": "OPEN",
          "health": "OK",
          "order": {
            "maker": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
            "tokenIn": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
            "tokenOut": "0x0000000000000000000000000000000000000000",
            "recipient": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
      …
    curl "$PLUTO_API/orders?maker=<maker>"
  • POST/orders

    Submit a signed order

    Parameters
    No parameters
    Request body · CreateOrderRequest
    {
      "order": {
        "maker": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
        "tokenIn": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
        "tokenOut": "0x0000000000000000000000000000000000000000",
        "recipient": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
        "amountInPerFill": "100000000",
        "minAmountOutPerFill": "2400000000000000000",
        "maxAmountOutPerFill": "0",
        "numFills": 1,
        "intervalSec": 0,
        "startAt": 1796043000,
        "expiresAt": 1796647800,
        "maxFillerFeeBps": 10,
        "nonce": "8"
      },
      "signature": "0x9c2e5b8d1f4a7c0e3b6d9f2a5c8e1b4d7f0a3c6e9b2d5f8a1c4e7b0d3f6a9c2e5b8d1f4a7c0e3b6d9f2a5c8e1b4d7f0a3c6e9b2d5f8a1c4e7b0d3f6a9c21c",
      "permit2Signature": null
    }
    Responses
    201object400Error
    Example
    {
      "orderHash": "0xa1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90",
      "status": "OPEN"
    }
    curl -X POST "$PLUTO_API/orders" \
      -H 'content-type: application/json' \
      -d '{"order":{"maker":"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B","tokenIn":"0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65","tokenOut":"0x0000000000000000000000000000000000000000","recipient":"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B","amountInPerFill":"100000000","minAmountOutPerFill":"2400000000000000000","maxAmountOutPerFill":"0","numFills":1,"intervalSec":0,"startAt":1796043000,"expiresAt":1796647800,"maxFillerFeeBps":10,"nonce":"8"},"signature":"0x9c2e5b8d1f4a7c0e3b6d9f2a5c8e1b4d7f0a3c6e9b2d5f8a1c4e7b0d3f6a9c2e5b8d1f4a7c0e3b6d9f2a5c8e1b4d7f0a3c6e9b2d5f8a1c4e7b0d3f6a9c21c","permit2Signature":null}'
  • DELETE/orders/{orderHash}

    Soft cancel (keeper stops filling; not an on-chain guarantee)

    Parameters
    • orderHashpathBytes32required
    Request body · object
    {
      "signature": "0x7b0d3f6a9c2e5b8d1f4a7c0e3b6d9f2a5c8e1b4d7f0a3c6e9b2d5f8a1c4e7b0d3f6a9c2e5b8d1f4a7c0e3b6d9f2a5c8e1b4d7f0a3c6e9b2d5f8a1c4e7b01b"
    }
    Responses
    200object400Error
    Example
    {
      "orderHash": "0xa1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90",
      "status": "CANCELLED"
    }
    curl -X DELETE "$PLUTO_API/orders/<orderHash>" \
      -H 'content-type: application/json' \
      -d '{"signature":"0x7b0d3f6a9c2e5b8d1f4a7c0e3b6d9f2a5c8e1b4d7f0a3c6e9b2d5f8a1c4e7b0d3f6a9c2e5b8d1f4a7c0e3b6d9f2a5c8e1b4d7f0a3c6e9b2d5f8a1c4e7b01b"}'
  • GET/orders/{orderHash}/cancel-tx

    Hard cancel — tx calling PlutoOrders.cancel(orderHash)

    Parameters
    • orderHashpathBytes32required
    Responses
    200object
    Example
    {
      "tx": {
        "to": "0x5c2f8e1d4a7b0c3e6f9a2d5b8c1e4f7a0d3b6c98",
        "data": "0xc4d252f5a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90",
        "value": "0",
        "gas": "60000"
      }
    }
    curl "$PLUTO_API/orders/<orderHash>/cancel-tx"
  • GET/private/pools

    Shielded pools (HYPE, USDC at launch)

    Parameters
    No parameters
    Responses
    200PrivatePool[]
    Example
    [
      {
        "asset": "0x0000000000000000000000000000000000000000",
        "symbol": "HYPE",
        "decimals": 18,
        "pool": "0x8f3a6d1c4b7e0a2d5c8f1b4e7a0d3c6f9b2e5a71",
        "scope": "0x1f0a3c5e7b9d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a",
        "minDeposit": "1000000000000000000",
        "stateTreeSize": 1532,
        "labelTreeSize": 1532,
        "anonymitySet": 1210,
        "tvl": "48210000000000000000000",
        "depositCap": "24250000000000000000000"
      },
      {
        "asset": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
        "symbol": "USDC",
        "decimals": 6,
        "pool": "0x2a5d8b1e4c7f0a3d6b9e2c5f8a1d4b7e0c3f6a99",
        "scope": "0x2e4c6a8f0d2b4e6c8a0f2d4b6e8c0a2f4d6b8e0c2a4f6d8b0e2c4a6f8d0b2e4c",
        "minDeposit": "10000000",
        "stateTreeSize": 884,
        "labelTreeSize": 884,
        "anonymitySet": 702,
        "tvl": "612400000000",
        "depositCap": "1000000000000"
      }
    ]
    curl "$PLUTO_API/private/pools"
  • GET/private/{pool}/leaves

    State-tree commitments in insertion order (cache; verifiable vs on-chain root)

    Parameters
    • poolpathAddressrequired
    • fromqueryinteger 0– = 0
    • limitqueryinteger 1–5000 = 5000
    Responses
    200TreePage
    Example
    {
      "leaves": [
        "0x0c8f2a4e6b8d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a",
        "0x1b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d",
        "0x2a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c"
      ],
      "next": 3,
      "root": "0x0f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5b7d9f1a3c5e7b9d1f3a",
      "blockNumber": 13690131
    }
    curl "$PLUTO_API/private/<pool>/leaves"
  • GET/private/labels

    Permissionless association-set (label tree) leaves

    Parameters
    • fromqueryinteger 0– = 0
    • limitqueryinteger 1–5000 = 5000
    Responses
    200TreePage
    Example
    {
      "leaves": [
        "0x05d7f9a1c3e5b7d9f1a3c5e7b9d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7",
        "0x14e6b8d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6"
      ],
      "next": 2,
      "root": "0x2c4e6a8b0d2f4c6e8a0b2d4f6c8e0a2b4d6f8c0e2a4b6d8f0c2e4a6b8d0f2c4e",
      "blockNumber": 13690131
    }
    curl "$PLUTO_API/private/labels"
  • GET/private/events

    Public Deposited / Withdrawn / PrivateSwap events for client-side note recovery

    Parameters
    • poolqueryAddress
    • fromBlockqueryinteger 0– = 0
    • limitqueryinteger 1–5000 = 5000
    Responses
    200object
    Example
    {
      "events": [
        {
          "type": "Deposited",
          "pool": "0x8f3a6d1c4b7e0a2d5c8f1b4e7a0d3c6f9b2e5a71",
          "blockNumber": 13650001,
          "txHash": "0x4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f",
          "commitment": "0x0c8f2a4e6b8d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a",
          "label": "0x05d7f9a1c3e5b7d9f1a3c5e7b9d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7",
          "value": "10000000000000000000",
          "precommitment": "0x1e3b5d7f9a1c3e5b7d9f1a3c5e7b9d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b",
          "nullifierHash": null,
          "newCommitment": null,
          "withdrawnValue": null
        },
        {
          "type": "PrivateSwap",
          "pool": "0x8f3a6d1c4b7e0a2d5c8f1b4e7a0d3c6f9b2e5a71",
          "blockNumber": 13689990,
          "txHash": "0x5e7b9d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b",
          "commitment": null,
          "label": null,
          "value": null,
          "precommitment": null,
          "nullifierHash": "0x0a2c4e6b8d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c",
          "newCommitment": "0x1b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d",
          "withdrawnValue": "5000000000000000000"
        }
      ],
      "nextFromBlock": null
    }
    curl "$PLUTO_API/private/events"
  • POST/private/quote

    Quote a private swap / withdrawal (no wallet address, no note data)

    Parameters
    No parameters
    Request body · PrivateQuoteRequest
    {
      "fromPool": "0x8f3a6d1c4b7e0a2d5c8f1b4e7a0d3c6f9b2e5a71",
      "toPool": "0x2a5d8b1e4c7f0a3d6b9e2c5f8a1d4b7e0c3f6a99",
      "amountIn": "10000000000000000000",
      "slippageBps": 50,
      "mode": "SWAP_RESHIELD"
    }
    Responses
    200PrivateQuote400Error404Error422Error
    Example
    {
      "quoteId": "pq_01JD8XA7Q4B2N6M8K0J3H5G7F9",
      "expiresAt": "2026-11-30T14:00:40Z",
      "amountIn": "10000000000000000000",
      "relayFee": "15000000000000000",
      "relayFeeBps": 15,
      "amountOut": "411440000",
      "minAmountOut": "409380000",
      "route": {
        "splits": [
          {
            "bps": 10000,
            "hops": [
              {
                "source": "uniswap-v4",
                "pool": "0x3f1e2d4c6b8a0f9e7d5c3b1a2f4e6d8c0b9a7f5e3d1c2b4a6f8e0d9c7b5a3f1e",
                "tokenIn": "0x0000000000000000000000000000000000000000",
                "tokenOut": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
                "feeBps": 5,
                "hooks": null
              }
            ]
          }
        ]
      },
      "withdrawal": {
        "processooor": "0x1e6b3c8d5a2f7e4b9c1d6a3f8e5b2c7d4a9f6e33",
        "data": "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000b47c4c8f73f009cc0c0d3f92b388d13e293f0b65"
      },
      "context": "0x16a1c3e5b7d9f1a3c5e7b9d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1",
      "feeRecipient": "0x6a9c2e5b8d1f4a7c0e3b6d9f2a5c8e1b4d7f0a3c"
    }
    curl -X POST "$PLUTO_API/private/quote" \
      -H 'content-type: application/json' \
      -d '{"fromPool":"0x8f3a6d1c4b7e0a2d5c8f1b4e7a0d3c6f9b2e5a71","toPool":"0x2a5d8b1e4c7f0a3d6b9e2c5f8a1d4b7e0c3f6a99","amountIn":"10000000000000000000","slippageBps":50,"mode":"SWAP_RESHIELD"}'
  • POST/private/relay

    Submit a proof for relaying (relayer verifies, simulates, pays gas)

    Parameters
    No parameters
    Request body · RelayRequest
    {
      "quoteId": "pq_01JD8XA7Q4B2N6M8K0J3H5G7F9",
      "pool": "0x8f3a6d1c4b7e0a2d5c8f1b4e7a0d3c6f9b2e5a71",
      "withdrawal": {
        "processooor": "0x1e6b3c8d5a2f7e4b9c1d6a3f8e5b2c7d4a9f6e33",
        "data": "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000b47c4c8f73f009cc0c0d3f92b388d13e293f0b65"
      },
      "proof": {
        "pA": [
          "0x1a2b3c",
          "0x4d5e6f"
        ],
        "pB": [
          [
            "0x111111",
            "0x222222"
          ],
          [
            "0x333333",
            "0x444444"
          ]
        ],
        "pC": [
          "0x7a8b9c",
          "0x0d1e2f"
        ],
        "pubSignals": [
          "0x1b4d",
          "0x0a2c",
          "0x4563918244f40000",
          "0x0f3a",
          "0x0b",
          "0x2c4e",
          "0x0b",
          "0x16a1"
        ]
      }
    }
    Responses
    202object400Error409Error429Error
    curl -X POST "$PLUTO_API/private/relay" \
      -H 'content-type: application/json' \
      -d '{"quoteId":"pq_01JD8XA7Q4B2N6M8K0J3H5G7F9","pool":"0x8f3a6d1c4b7e0a2d5c8f1b4e7a0d3c6f9b2e5a71","withdrawal":{"processooor":"0x1e6b3c8d5a2f7e4b9c1d6a3f8e5b2c7d4a9f6e33","data":"0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000b47c4c8f73f009cc0c0d3f92b388d13e293f0b65"},"proof":{"pA":["0x1a2b3c","0x4d5e6f"],"pB":[["0x111111","0x222222"],["0x333333","0x444444"]],"pC":["0x7a8b9c","0x0d1e2f"],"pubSignals":["0x1b4d","0x0a2c","0x4563918244f40000","0x0f3a","0x0b","0x2c4e","0x0b","0x16a1"]}}'
  • GET/private/jobs/{jobId}

    Relay job status

    Parameters
    • jobIdpathstringrequired
    Responses
    200RelayJob404Error
    Example
    {
      "status": "QUEUED",
      "txHash": null,
      "amountOut": null,
      "newCommitment": null,
      "error": null
    }
    curl "$PLUTO_API/private/jobs/<jobId>"
  • GET/crosschain/chains

    Chains and tokens that can swap into / out of Elysium (FE pickers)

    Parameters
    No parameters
    Responses
    200CrossChainChains429Error501Error503Error
    Example
    {
      "elysium": {
        "chainId": 99901,
        "hubToken": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
        "available": true
      },
      "quotesEnabled": true,
      "oneClick": false,
      "chains": [
        {
          "chainId": 999,
          "name": "hyperevm",
          "displayName": "HyperEVM",
          "vmType": "evm",
          "explorerUrl": "https://hyperevmscan.io",
          "anyToken": true,
          "tokens": [
            {
              "address": "0x0000000000000000000000000000000000000000",
              "symbol": "HYPE",
              "name": "HYPE",
              "decimals": 18,
              "native": true
            },
            {
              "address": "0xb88339cb7199b77e23db6e890353e22632ba630f",
              "symbol": "USDC",
              "name": "USDC",
              "decimals": 6,
              "native": false
            }
          ]
        }
      ]
    }
    curl "$PLUTO_API/crosschain/chains"
  • POST/crosschain/quote

    Quote a cross-chain swap into or out of Elysium (Relay bridge + Pluto swap)

    Parameters
    No parameters
    Request body · CrossChainQuoteRequest
    {
      "fromChainId": 8453,
      "fromToken": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "toChainId": 99901,
      "toToken": "0x0000000000000000000000000000000000000000",
      "amount": "10000000",
      "user": "0x03508bb71268bba25ecacc8f620e01866650532c",
      "slippageBps": 50
    }
    Responses
    200CrossChainQuote400Error404Error409Error413Error415Error422Error429Error501Error503Error
    Example
    {
      "direction": "INBOUND",
      "mode": "two_step",
      "fromChainId": 8453,
      "fromToken": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "toChainId": 99901,
      "toToken": "0x0000000000000000000000000000000000000000",
      "amountIn": "10000000",
      "amountOut": "240800000000000000",
      "minAmountOut": "234400000000000000",
      "user": "0x03508bB71268BBA25ECaCC8F620e01866650532c",
      "recipient": "0x03508bB71268BBA25ECaCC8F620e01866650532c",
      "relayRequestId": "0x1796132501bfc79f2b0838e316c8f7755efefdb049966d29d8ef43b2689c67cf",
      "etaSeconds": 6,
      "quotedAt": "2026-12-01T12:00:00Z",
      "legs": [
        {
          "type": "bridge",
          "provider": "relay",
          "fromChainId": 8453,
          "fromToken": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "toChainId": 99901,
          "toToken": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
          "amountIn": "10000000",
          "amountOut": "9976797",
          "minAmountOut": "9777262",
          "etaSeconds": 1
        },
        {
          "type": "swap",
          "provider": "pluto",
          "chainId": 99901,
          "tokenIn": "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65",
          "tokenOut": "0x0000000000000000000000000000000000000000",
          "amountIn": "9976797",
          "amountOut": "240800000000000000",
          "minAmountOut": "234400000000000000",
          "quoteId": "q_01JD8X4K2M9P7R3T5V6W8Y0Z1A",
          "priceImpactBps": 3
        }
      …
    curl -X POST "$PLUTO_API/crosschain/quote" \
      -H 'content-type: application/json' \
      -d '{"fromChainId":8453,"fromToken":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","toChainId":99901,"toToken":"0x0000000000000000000000000000000000000000","amount":"10000000","user":"0x03508bb71268bba25ecacc8f620e01866650532c","slippageBps":50}'
  • POST/crosschain/track

    Register a submitted cross-chain swap (or attach hashes / a re-quoted Relay request to one)

    Parameters
    No parameters
    Request body · CrossChainTrackRequest
    Responses
    200CrossChainStatus201CrossChainStatus400Error404Error413Error415Error429Error500Error501Error
    curl -X POST "$PLUTO_API/crosschain/track"
  • GET/crosschain/status/{id}

    Status of a tracked cross-chain swap (polls Relay + Elysium receipts; poll every 2–5 s)

    Parameters
    • idpathstringrequired
    Responses
    200CrossChainStatus404Error429Error500Error501Error
    Example
    {
      "id": "3f0c3a52-7d4e-4b8a-9f3e-0c1d2e3f4a5b",
      "direction": "INBOUND",
      "status": "SWAPPING",
      "terminal": false,
      "user": "0x03508bb71268bba25ecacc8f620e01866650532c",
      "recipient": "0x03508bb71268bba25ecacc8f620e01866650532c",
      "fromChainId": 8453,
      "fromToken": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "toChainId": 99901,
      "toToken": "0x0000000000000000000000000000000000000000",
      "amountIn": "10000000",
      "amountOut": "240800000000000000",
      "minAmountOut": "234400000000000000",
      "amountOutActual": null,
      "relayRequestId": "0x1796132501bfc79f2b0838e316c8f7755efefdb049966d29d8ef43b2689c67cf",
      "relayStatus": "success",
      "originTxHashes": [
        "0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7"
      ],
      "plutoTxHash": null,
      "relayInTxHashes": [
        "0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7"
      ],
      "relayOutTxHashes": [
        "0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254"
      ],
      "legs": {
        "bridge": "COMPLETED",
        "swap": "AWAITING_USER"
      },
      "failReason": null,
      "createdAt": "2026-12-01T12:00:00Z",
      "updatedAt": "2026-12-01T12:00:07Z",
      "completedAt": null
    }
    curl "$PLUTO_API/crosschain/status/<id>"
  • GET/crosschain/history

    Tracked cross-chain swaps of a wallet, newest first

    Parameters
    • addressqueryAddressrequired
    • limitqueryinteger 1–100 = 20
    Responses
    200object400Error429Error500Error501Error
    curl "$PLUTO_API/crosschain/history?address=<address>"
Source: src/lib/api/openapi.yaml

Live stream

wss://api.pluto.exchange/v1/stream pushes quotes (only when amountOut changes, at most 10 per second) and new blocks.

The live stream
Step 7 of 7
Subscribe
{ "op": "subscribe", "channel": "quote", "params": { "tokenIn": "0x…", "tokenOut": "0x…", "amountIn": "1000000" } }
Server pushes
{ "channel": "blocks", "data": { "number": 13690133, "timestamp": 1796042862 } }