Skip to main content

SpotQuoteResponse

Quote-only response for spot swap (no account provided).

currencyIn objectrequired

Input currency info

property name*any

Input currency info

currencyOut objectrequired

Output currency info

property name*any

Output currency info

quotes object[]required

Candidate routes, best output first. Execute exactly one.

  • Array [
  • aggregatorstring
    tradeInputnumber
    tradeOutputnumber
  • ]
  • asyncAlternatives object[]

    Solana only, present only when non-empty: routes that do NOT settle in the signed transaction (Nest RWA shares: USDC → share mints over CCTP → Plume → LayerZero; share → USDC queues Nest's async redemption). Never part of quotes[] and never ranked against it — a client must show settlement before offering one. See NEST_SOLANA.md.

  • Array [
  • aggregatorstringrequired

    Possible values: [Nest]

    actionstringrequired

    Possible values: [mint, redeem-request]

    atomicbooleanrequired

    Possible values: [false]

    tradeInputnumberrequired
    tradeOutputnumberrequired

    Indicative: priced when the deposit / redemption executes on Plume. No slippage bound applies.

    settlement objectrequired
    kindstringrequired

    Possible values: [async-crosschain]

    etaSecondsintegernullablerequired

    Indicative; null when an operator fulfils it (a redemption request).

    statusUrlstringrequired

    Replace {signature} with the Solana transaction signature.

    viastring[]
    fees object[]
  • Array [
  • assetstring
    amountstring

    Raw units

    kindstring
  • ]
  • notestring
    buildError object

    The quote stands but the issuer refused to build (e.g. OWNER_TOKEN_ACCOUNT_NOT_FOUND).

    codestring
    messagestring
    tx object

    Partially signed by Nest: add the wallet signature, never recompile the message.

    chainTypestring

    Possible values: [svm]

    transactionstring

    Base64 v0 transaction

    lastValidBlockHeightinteger
    partiallySignedboolean

    Possible values: [true]

  • ]
  • SpotQuoteResponse
    {
    "currencyIn": {},
    "currencyOut": {},
    "quotes": [
    {
    "aggregator": "string",
    "tradeInput": 0,
    "tradeOutput": 0
    }
    ],
    "asyncAlternatives": [
    {
    "aggregator": "Nest",
    "action": "mint",
    "atomic": false,
    "tradeInput": 0,
    "tradeOutput": 0,
    "settlement": {
    "kind": "async-crosschain",
    "etaSeconds": 0,
    "statusUrl": "string",
    "via": [
    "string"
    ]
    },
    "fees": [
    {
    "asset": "string",
    "amount": "string",
    "kind": "string"
    }
    ],
    "note": "string",
    "buildError": {
    "code": "string",
    "message": "string"
    },
    "tx": {
    "chainType": "svm",
    "transaction": "string",
    "lastValidBlockHeight": 0,
    "partiallySigned": true
    }
    }
    ]
    }