> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flashnet.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Create quote

> Firm price for 2 minutes plus a deposit address. Paying the address creates the order. Fresh quotes and successful idempotency replays screen the effective recipient, refund and fee addresses with Hermod; replays use frozen quote terms. Hermod starts in log-only mode and rejects hits with the existing sanctioned_address response only when enforcement is enabled. OFAC screening remains independently enforced. A screening rejection does not overwrite the successful quote or start a replacement quote. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.

**/v1/orchestration/quote**


## OpenAPI

````yaml https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/quote
openapi: 3.1.0
info:
  title: Flashnet Orchestrator API
  version: 0.1.0
  description: >-
    Partner API for quotes, orders, standing deposits, webhooks, and affiliates.
    Operations marked x-excluded are omitted from the documentation navigation;
    internal, pay-link, SSE, and provider-integration routes are outside this
    registry.
servers:
  - url: https://orchestration.flashnet.xyz
security: []
tags:
  - name: Orchestration
    description: >-
      Routes, limits, estimates, quotes, orders, onramp, and ZeroConf decisions
      for one-off swaps.
  - name: Standing Deposit Addresses
    description: >-
      Permanent per-customer deposit addresses bound to one immutable conversion
      instruction.
  - name: Webhooks
    description: >-
      Registration of HTTPS endpoints for order status events and recovery
      events.
  - name: Affiliates
    description: Registered fee recipients, their accrued balances, and claims.
  - name: Accumulation Addresses
    description: >-
      Legacy reusable addresses that convert one source asset into Spark BTC or
      USDB.
  - name: Liquidations
    description: >-
      Legacy Bitcoin L1 deposit addresses that convert each output to a
      configured destination.
  - name: System
  - name: Explorer
  - name: Dashboard
  - name: Affiliate Dashboard
paths:
  /v1/orchestration/quote:
    post:
      tags:
        - Orchestration
      summary: Create quote
      description: >-
        Firm price for 2 minutes plus a deposit address on ordinary routes.
        Explicit shielded ZEC instead returns a 30-minute funding deadline
        (expiresAt and funding.payBy), a separate two-minute indicative
        priceValidUntil, and an immutable lockedMinAmountOut. The worker
        reprices after verified receipt and may only execute above that floor.
        Shielded quotes allocate an Orchard receiver, not a provider deposit;
        both Unit and NEAR are eligible subject to partner and execution policy.
        Omitted/default sourcePaymentMode retains existing behavior. Paying the
        address creates the order. Fresh quotes, resumed preparations and
        successful idempotency replays screen the effective recipient, refund
        and fee addresses with Hermod; replays use frozen quote terms. Hermod
        starts in log-only mode and rejects hits with the existing
        sanctioned_address response only when enforcement is enabled. OFAC
        screening remains independently enforced. A screening rejection does not
        overwrite the successful quote or start a replacement quote. HyperCore
        source routes are unavailable until independent deposit verification is
        supported; HyperCore destinations remain supported.
      operationId: postV1OrchestrationQuote
      parameters:
        - schema:
            type: string
            minLength: 1
          required: true
          name: X-Idempotency-Key
          in: header
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrchestrationQuoteRequest'
            example:
              sourceChain: base
              sourceAsset: USDC
              destinationChain: spark
              destinationAsset: BTC
              amount: '50000000'
              recipientAddress: RECIPIENT_ADDRESS
      responses:
        '200':
          description: Quote created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrchestrationQuoteResponse'
              examples:
                success:
                  summary: Bitcoin deposit quote
                  value:
                    amountMode: exact_in
                    estimatedOut: '99000000'
                    feeAmount: '500000'
                    roundingFeeAmount: '0'
                    totalFeeAmount: '500000'
                    feeBps: 50
                    feeAsset: USDC
                    route:
                      - BTC
                      - USDB
                      - USDC
                    quoteId: q_7e450ab4-935b-4f8d-a6c4-4987a3cd2831
                    depositAddress: bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh
                    amountIn: '100000'
                    expiresAt: '2026-09-12T12:02:00.000Z'
                    source:
                      chain: bitcoin
                      asset: BTC
                      assetDisplayName: Bitcoin
                      assetDisplaySymbol: BTC
                      contractAddress: null
                      decimals: 8
                      chainId: null
                      chainDisplayName: Bitcoin
                      chainIcon: /btc.svg
                    destination:
                      chain: solana
                      asset: USDC
                      assetDisplayName: USDC
                      assetDisplaySymbol: USDC
                      contractAddress: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                      decimals: 6
                      chainId: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
                      chainDisplayName: Solana
                      chainIcon: /chain-solana.svg
        '400':
          description: >-
            Invalid request, unsupported route, or input outside amount bounds
            (`amount_too_small` / `amount_too_large`). With
            affiliateErrorMode=specific, registered affiliate lookup failures
            return affiliate_not_found or affiliate_disabled. A quote whose
            source is an unlisted token without refundAddress returns
            invalid_request. A source or destination named by token address can
            also return invalid_token_address, token_not_found,
            token_unsupported (including a Solana mint with refused extensions),
            token_blocked, insufficient_liquidity (no route reaches or leaves
            the token), unsupported_amount_mode (exact_out and fixed delivery),
            amount_too_large (the order cap, valued in the hub the token is
            swapped with), or route_unavailable (chain or account not enabled
            for that end).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: >-
            Forbidden, OFAC or enforced Hermod hit (`sanctioned_address`), or
            screening block (`screening_blocked`). Quote screening rejections
            before durable preparation may be retried with the same idempotency
            key and body after policy changes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Idempotency conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: >-
            Rate limited (`rate_limited`); see the [rate-limits
            guide](/api/rate-limits). Retry after Retry-After seconds when
            present (per-key limiter only), otherwise at X-RateLimit-Reset, an
            absolute epoch timestamp in milliseconds; both limiters also return
            X-RateLimit-Limit and X-RateLimit-Remaining.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: >-
            Screening unavailable (`screening_unavailable`) for unhealthy
            screening controls, enforced invalid subjects or missing address
            evidence, or missing/unreadable frozen quote terms on replay; cached
            funding instructions are withheld. Hermod service failures and
            unverified chain coverage log and continue. A durable quote
            preparation in progress returns `quote_preparation_pending` and
            retains its idempotency result. Token metadata could not be read
            from the chain (`token_metadata_unavailable`); retry later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    OrchestrationQuoteRequest:
      type: object
      properties:
        sourcePaymentMode:
          type: string
          enum:
            - default
            - shielded
          description: >-
            Opt in to Orchard funding for zcash:ZEC, exact_in and variable only.
            Omitted/default preserves transparent funding. Requires an admitted
            partner and refund address.
        executionPolicy:
          allOf:
            - $ref: '#/components/schemas/ShieldedExecutionPolicy'
            - description: Shielded provider policy; ignored for legacy funding.
        sourceChain:
          $ref: '#/components/schemas/Chain'
        sourceAsset:
          $ref: '#/components/schemas/SourceAssetInput'
        destinationChain:
          $ref: '#/components/schemas/Chain'
        destinationAsset:
          $ref: '#/components/schemas/DestinationAssetInput'
        amount:
          type: string
          pattern: ^[0-9]+$
          description: >-
            Amount in smallest units of the source asset, or destination asset
            for exact_out; stablecoin exact_out amounts require whole cents.
        amountMode:
          type: string
          enum:
            - exact_in
            - exact_out
          description: >-
            exact_out pins the destination amount and requires whole cents for
            stablecoins.
        deliveryMode:
          type: string
          enum:
            - variable
            - fixed
          description: >-
            Delivery mode; new fixed delivery requires exact_in and an enabled
            reviewed XChain route with active partner terms. Canonical fixed
            delivery is unavailable; disabled XChain admission never falls back
            to canonical. A route accepts fixed only where
            /v2/orchestration/routes reports fixedEligible (fixedTo); other
            routes return 400 fixed_delivery_unsupported_route. Fixed estimates
            are indicative; quotes validate exact-output affordability before
            returning deposit instructions. Fixed stablecoin routes to Solana
            USDC include recipient token-account creation costs upfront and
            preserve the quoted payout.
        flexibleAmount:
          type: boolean
          description: >-
            lightning:BTC exact-in variable only: mint an amountless invoice.
            `amount` prices an indicative size; the order runs on whatever
            amount is paid.
        descriptionHash:
          type: string
          pattern: ^[0-9a-fA-F]{64}$
          description: >-
            lightning:BTC sources only: SHA-256 hex of your LNURL-pay metadata
            string. The minted BOLT11 carries it as the description hash (h tag)
            instead of a memo, for wallets that still verify LUD-06. Rejected on
            other sources.
        includeCalldata:
          type: boolean
          description: >-
            Include transaction calldata to fund the order. Supported for EVM
            native and ERC-20 sources only; unsupported sources return
            calldata_unsupported_source. Defaults to false.
        recipientAddress:
          type: string
          minLength: 1
          description: >-
            Destination recipient; use the owner address for Solana tokens, or a
            Lightning address or compatible BOLT11 invoice for Lightning.
        refundChain:
          $ref: '#/components/schemas/Chain'
        refundAddress:
          type: string
          minLength: 1
          description: >-
            Source-chain refund address where required by the route; sanctioned
            addresses are rejected. Required when sourceAsset is an unlisted
            token (invalid_request otherwise): a deposit that cannot be sold is
            refunded there in the source token. For zcash:ZEC sources, a
            supplied nonblank refund address must be a checksum-valid mainnet
            transparent t1 or t3 address; invalid targets return
            invalid_refund_address before pricing.
        slippageBps:
          type: integer
          minimum: 0
          maximum: 1000
          description: Slippage tolerance in basis points, subject to the route minimum.
        appFees:
          type: array
          items:
            $ref: '#/components/schemas/OrchestrationAppFeeRequest'
          minItems: 1
          maxItems: 16
          description: Inline app fees, requiring a server key or dashboard session.
        affiliateErrorMode:
          type: string
          enum:
            - legacy
            - specific
          description: >-
            Opt in to affiliate_not_found / affiliate_disabled for registered
            affiliate lookup failures. Omitted or legacy preserves
            invalid_request. HTTP 400 in either mode. Changing this field
            requires a new idempotency key.
        affiliateId:
          type: string
          description: >-
            Registered affiliate ID for accrued fees, also accepted from client
            keys.
        affiliateIds:
          type: array
          items:
            $ref: '#/components/schemas/OrchestrationAffiliateIdEntry'
          minItems: 1
          maxItems: 16
          description: >-
            Registered affiliate IDs or fee overrides; mutually exclusive with
            appFees, with overrides requiring a server key or dashboard session.
        tag:
          type:
            - string
            - 'null'
          pattern: ^[A-Za-z0-9._:-]{1,64}$
          description: >-
            Your own reporting label, such as an integrator ID. Every order this
            quote funds carries it, and the dashboard filters and groups by it.
            Self-reported: anyone holding the key that creates the quote chooses
            it.
      required:
        - sourceChain
        - sourceAsset
        - destinationChain
        - destinationAsset
        - amount
        - recipientAddress
      description: Unknown top-level fields are ignored rather than rejected.
      allOf:
        - not:
            allOf:
              - properties:
                  sourceAsset:
                    const: TON
                required:
                  - sourceAsset
              - properties:
                  sourceChain:
                    not:
                      const: ton
                required:
                  - sourceChain
        - not:
            allOf:
              - properties:
                  destinationAsset:
                    const: TON
                required:
                  - destinationAsset
              - properties:
                  destinationChain:
                    not:
                      const: ton
                required:
                  - destinationChain
    OrchestrationQuoteResponse:
      type: object
      properties:
        sourcePaymentMode:
          type: string
          enum:
            - shielded
        priceValidUntil:
          type: string
          format: date-time
          description: >-
            Two-minute indicative pricing deadline. Execution reprices after
            verified receipt and must preserve lockedMinAmountOut.
        execution:
          $ref: '#/components/schemas/ShieldedExecution'
        funding:
          $ref: '#/components/schemas/ShieldedFunding'
        quoteId:
          type: string
        reviewedAssets:
          type: array
          items:
            $ref: '#/components/schemas/ReviewedAssetIdentity'
          minItems: 1
          maxItems: 32
          description: >-
            Exact immutable reviewed token identities frozen by the native
            quote. Omitted for legacy or invalid snapshots; caller metadata
            cannot set these pins.
        depositAddress:
          type: string
        transaction:
          type: object
          properties:
            chainId:
              type: integer
              exclusiveMinimum: 0
            to:
              type: string
              description: Token contract for ERC-20; deposit address for native input.
            data:
              type: string
              description: >-
                ERC-20 transfer(depositAddress, amountIn) calldata, or 0x for
                native input.
            value:
              type: string
              description: >-
                Native value in smallest units: amountIn for native input,
                otherwise 0.
          required:
            - chainId
            - to
            - data
            - value
          description: >-
            Unsigned deposit transfer, returned only with includeCalldata=true
            on supported EVM sources. No approval is needed. This funds the
            deposit; it does not execute the swap.
        depositMemo:
          type: string
          description: Memo or tag required with the deposit when present.
        lightningReceiveRequestId:
          type: string
        flexibleAmount:
          type: boolean
          enum:
            - true
          description: >-
            The invoice is amountless. amountIn and estimatedOut price the
            indicative amount and are rescaled to the amount actually paid.
        amountMode:
          type: string
          enum:
            - exact_in
            - exact_out
        targetAmountOut:
          type: string
        requiredAmountIn:
          type: string
        maxAcceptedAmountIn:
          type: string
        inputBufferBps:
          type: integer
        deliveryMode:
          type: string
          enum:
            - fixed
        priceLockMode:
          type: string
          enum:
            - strict_requote
            - approval_required
          description: Action required when the locked price can no longer be honored.
        lockedMinAmountOut:
          type: string
          description: Minimum locked destination amount in smallest units.
        amountIn:
          type: string
        estimatedOut:
          type: string
        feeAmount:
          type: string
        roundingFeeAmount:
          type: string
        totalFeeAmount:
          type: string
        networkCostAmount:
          type: string
          description: Quoted network cost in smallest units of networkCostAsset.
        networkCostAsset:
          type: string
          description: Asset used to pay the quoted network cost.
        networkCostRequired:
          type: boolean
          description: Whether the quoted network cost must be paid.
        networkCosts:
          type: array
          items:
            $ref: '#/components/schemas/OrchestrationNetworkCost'
          description: Itemized network costs and quote-time assumptions.
        sweepFeeAmount:
          type: string
        appFeeAmount:
          type: string
        appFeePlatformCutAmount:
          type: string
        appFees:
          type: array
          items:
            $ref: '#/components/schemas/OrchestrationAppFeeQuote'
        feeAsset:
          type: string
        feeAssetDetails:
          $ref: '#/components/schemas/PublicAssetDetails'
        feeAmountUsd:
          type: string
        totalFeeAmountUsd:
          type: string
        feeBps:
          type: integer
        route:
          type: array
          items:
            type: string
        minAmountOut:
          type: string
          description: >-
            Unlisted destinations only: the least amount of the token, in its
            smallest units, the recipient receives when the swap succeeds.
            Enforced on chain at the recipient.
        fallback:
          $ref: '#/components/schemas/UnlistedFallback'
        source:
          $ref: '#/components/schemas/PublicAssetDetails'
        destination:
          $ref: '#/components/schemas/PublicAssetDetails'
        expiresAt:
          type: string
        tag:
          type:
            - string
            - 'null'
          description: The request's tag; null when none was sent.
        readToken:
          type: string
          description: >-
            Client-key read token for this quote and its order, including
            private ZeroConf outcomes.
      required:
        - quoteId
        - depositAddress
        - amountIn
        - estimatedOut
        - feeAmount
        - totalFeeAmount
        - feeAsset
        - feeBps
        - route
        - expiresAt
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      additionalProperties: false
    ShieldedExecutionPolicy:
      type: object
      properties:
        routing:
          type: string
          enum:
            - best_return
        allowedProviders:
          type: array
          items:
            type: string
            enum:
              - near-intents
              - hyperunit
          minItems: 1
          maxItems: 2
        maxEstimatedSettlementSeconds:
          type: integer
          exclusiveMinimum: 0
          minimum: -9007199254740991
          maximum: 9007199254740991
      additionalProperties: false
    Chain:
      type: string
      enum:
        - arbitrum
        - arc
        - avalanche
        - base
        - bitcoin
        - bsc
        - ethereum
        - hedera
        - hypercore
        - hyperevm
        - lightning
        - litecoin
        - monad
        - monero
        - optimism
        - plasma
        - polygon
        - robinhood
        - sei
        - solana
        - spark
        - tempo
        - ton
        - tron
        - xrp
        - zcash
    SourceAssetInput:
      anyOf:
        - $ref: '#/components/schemas/Asset'
        - type: string
          enum:
            - TON
        - $ref: '#/components/schemas/RegistryAssetKey'
        - $ref: '#/components/schemas/TokenAddress'
      description: >-
        An AssetInput, or a token address. A quote whose source is an unlisted
        token requires refundAddress: a deposit that cannot be sold is refunded
        in kind there.
    DestinationAssetInput:
      anyOf:
        - $ref: '#/components/schemas/Asset'
        - type: string
          enum:
            - TON
        - $ref: '#/components/schemas/RegistryAssetKey'
        - $ref: '#/components/schemas/TokenAddress'
      description: >-
        An AssetInput, or a token address. An unlisted destination adds
        minAmountOut and fallback to the quote.
    OrchestrationAppFeeRequest:
      type: object
      properties:
        recipient:
          type: string
          minLength: 1
          description: Fee recipient address; sanctioned addresses are rejected.
        fee:
          type: integer
          minimum: 1
          maximum: 9999
      required:
        - recipient
        - fee
      description: Unknown top-level fields are ignored rather than rejected.
    OrchestrationAffiliateIdEntry:
      anyOf:
        - type: string
          minLength: 1
          description: Registered affiliate id. Uses the profile's static feeBps.
        - type: object
          properties:
            affiliateId:
              type: string
              minLength: 1
            feeBps:
              type: integer
              minimum: 1
              maximum: 9999
              description: >-
                Fee override for this quote only; the stored affiliate profile
                is unchanged.
          required:
            - affiliateId
            - feeBps
          additionalProperties: false
      description: Registered affiliate ID or { affiliateId, feeBps } override.
    ShieldedExecution:
      type: object
      properties:
        policy:
          $ref: '#/components/schemas/ShieldedExecutionPolicy'
        quotedProvider:
          type: string
          enum:
            - near-intents
            - hyperunit
        eligibleProviders:
          type: array
          items:
            type: string
            enum:
              - near-intents
              - hyperunit
          minItems: 1
          maxItems: 2
        estimatedSettlementSeconds:
          type: integer
          exclusiveMinimum: 0
        providerLocked:
          type: boolean
          enum:
            - false
      required:
        - policy
        - quotedProvider
        - eligibleProviders
        - estimatedSettlementSeconds
        - providerLocked
      additionalProperties: false
    ShieldedFunding:
      type: object
      properties:
        senderVisibility:
          type: string
          enum:
            - shielded
          description: >-
            Receipt proof does not identify the sender or originating wallet
            software.
        sourceHistoryScreening:
          type: string
          enum:
            - unavailable
          description: >-
            Hidden source history is unavailable. Screening of visible
            counterparties is separate from receipt verification.
        type:
          type: string
          enum:
            - zcash_shielded
        version:
          type: number
          enum:
            - 1
        network:
          type: string
          enum:
            - mainnet
        receiverPool:
          type: string
          enum:
            - orchard
        address:
          type: string
        amount:
          type: string
        payBy:
          type: string
          format: date-time
          description: >-
            30-minute funding deadline, also returned as expiresAt. This does
            not extend price validity.
        requiredConfirmations:
          type: integer
          exclusiveMinimum: 0
        refundAddress:
          type: string
        refundFeePolicy:
          type: string
          enum:
            - actual_network_cost_up_to_per_transaction_cap
        maxSourceFeeZats:
          type: string
        maxRefundFeeZats:
          type: string
          description: >-
            Maximum network cost in zatoshis for each refund transaction;
            multiple refund transactions may each incur this cap.
      required:
        - senderVisibility
        - sourceHistoryScreening
        - type
        - version
        - network
        - receiverPool
        - address
        - amount
        - payBy
        - requiredConfirmations
        - refundAddress
        - refundFeePolicy
        - maxSourceFeeZats
        - maxRefundFeeZats
      additionalProperties: false
    ReviewedAssetIdentity:
      type: object
      properties:
        version:
          type: number
          enum:
            - 1
        catalogVersion:
          type: string
          pattern: ^sha256:[0-9a-f]{64}$
        chain:
          type: string
          enum:
            - solana
            - ethereum
            - bsc
            - arbitrum
        asset:
          type: string
          minLength: 1
          maxLength: 32
        address:
          type: string
          minLength: 32
          maxLength: 44
        decimals:
          type: integer
          minimum: 0
          maximum: 255
        tokenProgram:
          type: string
          enum:
            - erc20
            - spl
            - token-2022
        mechanic:
          type: string
          enum:
            - standard
            - scaled-ui
            - rebasing
            - accumulating
        mechanicHash:
          type: string
          pattern: ^sha256:[0-9a-f]{64}$
      required:
        - version
        - catalogVersion
        - chain
        - asset
        - address
        - decimals
        - tokenProgram
        - mechanic
        - mechanicHash
      additionalProperties: false
    OrchestrationNetworkCost:
      oneOf:
        - type: object
          properties:
            type:
              type: string
              enum:
                - solana_associated_token_account
            nativeAmount:
              type: string
            nativeAsset:
              type: string
              enum:
                - SOL
            amount:
              type: string
            asset:
              type: string
            assumption:
              type: string
              enum:
                - assumed_missing
                - observed_missing
                - observed_exists
          required:
            - type
            - nativeAmount
            - nativeAsset
            - amount
            - asset
            - assumption
          additionalProperties: false
        - type: object
          properties:
            type:
              type: string
              enum:
                - solana_mayan_order_accounts
            nativeAmount:
              type: string
            nativeAsset:
              type: string
              enum:
                - SOL
            amount:
              type: string
            asset:
              type: string
              enum:
                - USDC
          required:
            - type
            - nativeAmount
            - nativeAsset
            - amount
            - asset
          additionalProperties: false
        - type: object
          properties:
            type:
              type: string
              enum:
                - tron_execution
            nativeAmount:
              type: string
            nativeAsset:
              type: string
              enum:
                - TRX
            amount:
              type: string
            asset:
              type: string
              enum:
                - TRX
          required:
            - type
            - nativeAmount
            - nativeAsset
            - amount
            - asset
          additionalProperties: false
    OrchestrationAppFeeQuote:
      type: object
      properties:
        affiliateId:
          type: string
        recipient:
          type: string
          minLength: 1
        feeBps:
          type: integer
          minimum: 1
          maximum: 9999
        amount:
          type: string
        platformCutAmount:
          type: string
        recipientAmount:
          type: string
      required:
        - recipient
        - feeBps
        - amount
        - platformCutAmount
        - recipientAmount
      additionalProperties: false
    PublicAssetDetails:
      type: object
      properties:
        chain:
          $ref: '#/components/schemas/Chain'
        asset:
          type: string
        assetDisplayName:
          type: string
        assetDisplaySymbol:
          type: string
        contractAddress:
          type:
            - string
            - 'null'
        decimals:
          type: integer
        tokenProgram:
          type: string
          enum:
            - erc20
            - spl
            - token-2022
        reviewedIdentity:
          $ref: '#/components/schemas/ReviewedAssetIdentity'
        chainId:
          type:
            - string
            - 'null'
        chainDisplayName:
          type: string
        chainIcon:
          type:
            - string
            - 'null'
        assetIcon:
          type: string
          format: uri
          description: >-
            Absolute https logo URL served from the asset registry. Absent when
            the asset has no registry logo; clients keep their bundled artwork.
        listing:
          type: string
          enum:
            - listed
            - unlisted
          description: >-
            unlisted for a source or destination named by a token address the
            asset registry does not list; absent means listed. Unlisted details
            come from the token contract or mint and are display data only;
            asset and contractAddress are the canonical address, and a Solana
            mint carries tokenProgram.
      required:
        - chain
        - asset
        - assetDisplayName
        - assetDisplaySymbol
        - contractAddress
        - decimals
        - chainId
        - chainDisplayName
        - chainIcon
      additionalProperties: false
    UnlistedFallback:
      type: object
      properties:
        chain:
          $ref: '#/components/schemas/Chain'
        asset:
          type: string
          description: Hub asset delivered instead of the token.
        minAmount:
          type: string
          description: >-
            Least amount of the hub the recipient receives, in its smallest
            units.
      required:
        - chain
        - asset
        - minAmount
      additionalProperties: false
      description: >-
        Unlisted destinations only: what the recipient receives if the swap into
        the token cannot deliver minAmountOut.
    ErrorDetail:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      additionalProperties: false
    Asset:
      type: string
      enum:
        - AAPL
        - AI
        - AMD
        - AMZN
        - BNB
        - BONER
        - BTC
        - CASHCAT
        - COIN
        - COST
        - DAI
        - DELTA
        - DJT
        - ETH
        - GLD
        - GME
        - GOOGL
        - GRAM
        - HIMS
        - HSUSD
        - HYPE
        - IF
        - LTC
        - META
        - MON
        - MSFT
        - MSTR
        - MU
        - NVDA
        - OUSD
        - PIPEDOG
        - PLTR
        - POL
        - PONS
        - PYUSD
        - PathUSD
        - QQQ
        - RDDT
        - SHX
        - SKHY
        - SLV
        - SNDK
        - SOL
        - SPCX
        - SPY
        - STONKBROKER
        - TENDIES
        - TRX
        - TSLA
        - TSM
        - UP
        - USDB
        - USDC
        - USDC.e
        - USDG
        - USDT
        - USDe
        - USD₮0
        - USO
        - WBNB
        - WBTC
        - WEN
        - XMR
        - XO
        - XPL
        - XRP
        - ZEC
        - cbBTC
        - tBTC
      description: >-
        Legacy asset symbol. OUSD identifies Open Standard Open USD issued by
        Bridge, not Origin Dollar. Use route discovery for supported chains and
        directions.
    RegistryAssetKey:
      type: string
      minLength: 1
      maxLength: 96
      pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
      description: >-
        Routing key of an asset served from the shared asset registry, as
        advertised by GET /v2/orchestration/routes (for example asset_<sha256>).
        Accepted only while the registry serves the asset; any other value fails
        validation.
    TokenAddress:
      type: string
      pattern: ^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$
      description: >-
        A token named by its on-chain address: an ERC-20 contract on an EVM
        chain (lowercase or EIP-55 checksummed, for example
        0x6982508145454ce325ddbe47a25d4ec3d2311933), or an SPL mint on solana
        (base58, case-sensitive and kept exactly, for example
        DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263). An address the registry
        lists is served as that asset; any other is an unlisted token, admitted
        per partner and per end on chains listed in tokenSupport of GET
        /v2/orchestration/routes. Unlisted tokens support exact_in with variable
        delivery only.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Partner API key in the form `Authorization: Bearer fn_...`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.