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

# Get swap status

> Returns a tracked trade and refreshes status for submitted transaction IDs.

```bash theme={null}
curl "https://staging-api.struct.to/v1/trading/trades/{trade_id}?fields=short" \
  -H "X-API-Key: YOUR_API_KEY"
```

```json Response (Long) theme={null}
{
  "trade_id": "7c4a8d09-ca37-62af-61d5-3583ec55ad30",
  "chain_id": "4663",
  "chain_family": "evm",
  "evm_chain_id": 4663,
  "wallet_address": "0x12a371444CCeBb6B64Cc35EBbC70d1d998433d51",
  "status": "confirmed",
  "request": {
    "chain_id": 4663,
    "wallet_address": "0x12a371444CCeBb6B64Cc35EBbC70d1d998433d51",
    "token_in": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "token_out": "0x39dBED3a2bd333467115dE45665cC57F813C4571",
    "amount": "100",
    "slippage_bps": 100,
    "direction": "exact_in",
    "only_protocols": [
      "PonsV2"
    ],
    "to_pool_id": "0xEd50bDeeA8aDC232f159486192a4157281D722ff"
  },
  "transaction_ids": [
    "0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f"
  ],
  "receipts": [
    {
      "transaction_id": "0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f",
      "status": "success",
      "block_number": 22100000,
      "block_hash": "0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f",
      "gas_used": "186420",
      "effective_gas_price": "1200000000"
    }
  ],
  "created_at": "2026-09-21T13:05:00Z",
  "updated_at": "2026-09-21T13:05:12Z",
  "expires_at": "2026-09-21T13:10:00Z"
}
```

```jsonc Response (Short) theme={null}
{
  "id": "7c4a8d09-ca37-62af-61d5-3583ec55ad30",
  "ci": "4663",
  "cf": "evm",
  "ei": 4663,
  "w": "0x12a371444CCeBb6B64Cc35EBbC70d1d998433d51",
  "st": "confirmed",
  "rq": {
    "ci": 4663,
    "w": "0x12a371444CCeBb6B64Cc35EBbC70d1d998433d51",
    "ti": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "to": "0x39dBED3a2bd333467115dE45665cC57F813C4571",
    "a": "100",
    "sl": 100,
    "dir": "exact_in",
    "op": [
      "PonsV2"
    ],
    "tp": "0xEd50bDeeA8aDC232f159486192a4157281D722ff"
  },
  "tx": [
    "0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f"
  ],
  "rc": [
    {
      "id": "0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f",
      "st": "success",
      "bn": 22100000,
      "bh": "0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f",
      "gu": "186420",
      "egp": "1200000000"
    }
  ],
  "ca": "2026-09-21T13:05:00Z",
  "u": "2026-09-21T13:05:12Z",
  "ea": "2026-09-21T13:10:00Z"
}
```


## OpenAPI

````yaml onchain-openapi.json GET /trading/trades/{trade_id}
openapi: 3.1.0
info:
  title: Struct On-chain API
  description: >-
    RESTful API for token market data, discovery, holders, audits, and trader
    analytics across supported chains. Pass `fields=short` or header
    `x-field-names: short` for abbreviated keys. HTTP defaults to `long`. Token
    candlesticks, token trades and wallet batch trades also support
    `fields=array` for typed positional rows.
  version: 1.0.0
servers:
  - url: https://staging-api.struct.to/v1
    description: Staging
security:
  - ApiKey: []
paths:
  /trading/trades/{trade_id}:
    get:
      tags:
        - DEX Trading
      summary: Get swap status
      description: >-
        Returns a tracked trade and refreshes status for submitted transaction
        IDs.
      operationId: get_dex_trading_trade
      parameters:
        - name: trade_id
          in: path
          description: Trade id returned by tx/build, tx/submit, or tx/track.
          required: true
          schema:
            type: string
            format: uuid
        - name: x-field-names
          in: header
          required: false
          description: >-
            Select long (full) or short (abbreviated) field names. HTTP defaults
            to `long`. Takes precedence over `fields`. See [Response
            Format](/api-reference/response-format#long-and-short-field-names).
          schema:
            type: string
            enum:
              - long
              - short
            default: long
          example: short
        - name: fields
          in: query
          required: false
          description: >-
            Same as `x-field-names`. Use `long` or `short`. HTTP defaults to
            `long`. Ignored when the header is set. `field_names` is accepted as
            an alias.
          schema:
            type: string
            enum:
              - long
              - short
            default: long
          example: short
      responses:
        '200':
          description: Tracked trade record
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TradeRecord'
              examples:
                long:
                  summary: Response (Long)
                  value:
                    trade_id: 7c4a8d09-ca37-62af-61d5-3583ec55ad30
                    chain_id: '4663'
                    chain_family: evm
                    evm_chain_id: 4663
                    wallet_address: '0x12a371444CCeBb6B64Cc35EBbC70d1d998433d51'
                    status: confirmed
                    request:
                      chain_id: 4663
                      wallet_address: '0x12a371444CCeBb6B64Cc35EBbC70d1d998433d51'
                      token_in: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
                      token_out: '0x39dBED3a2bd333467115dE45665cC57F813C4571'
                      amount: '100'
                      slippage_bps: 100
                      direction: exact_in
                      only_protocols:
                        - PonsV2
                      to_pool_id: '0xEd50bDeeA8aDC232f159486192a4157281D722ff'
                    transaction_ids:
                      - >-
                        0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f
                    receipts:
                      - transaction_id: >-
                          0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f
                        status: success
                        block_number: 22100000
                        block_hash: >-
                          0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f
                        gas_used: '186420'
                        effective_gas_price: '1200000000'
                    created_at: '2026-09-21T13:05:00Z'
                    updated_at: '2026-09-21T13:05:12Z'
                    expires_at: '2026-09-21T13:10:00Z'
                short:
                  summary: Response (Short)
                  value:
                    id: 7c4a8d09-ca37-62af-61d5-3583ec55ad30
                    ci: '4663'
                    cf: evm
                    ei: 4663
                    w: '0x12a371444CCeBb6B64Cc35EBbC70d1d998433d51'
                    st: confirmed
                    rq:
                      ci: 4663
                      w: '0x12a371444CCeBb6B64Cc35EBbC70d1d998433d51'
                      ti: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
                      to: '0x39dBED3a2bd333467115dE45665cC57F813C4571'
                      a: '100'
                      sl: 100
                      dir: exact_in
                      op:
                        - PonsV2
                      tp: '0xEd50bDeeA8aDC232f159486192a4157281D722ff'
                    tx:
                      - >-
                        0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f
                    rc:
                      - id: >-
                          0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f
                        st: success
                        bn: 22100000
                        bh: >-
                          0x7c4a8d09ca3762af61d53583ec55ad30131148048f16944d19399c267a8a4b8f
                        gu: '186420'
                        egp: '1200000000'
                    ca: '2026-09-21T13:05:00Z'
                    u: '2026-09-21T13:05:12Z'
                    ea: '2026-09-21T13:10:00Z'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DexTradingErrorEnvelope'
        '404':
          description: Trade not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DexTradingErrorEnvelope'
        '501':
          description: Tracking is not available for the selected chain
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DexTradingErrorEnvelope'
        '502':
          description: Network status lookup failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DexTradingErrorEnvelope'
        '503':
          description: Network temporarily unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DexTradingErrorEnvelope'
components:
  schemas:
    TradeRecord:
      type: object
      required:
        - trade_id
        - chain_id
        - chain_family
        - status
        - request
        - transaction_ids
        - receipts
        - created_at
        - updated_at
      properties:
        trade_id:
          type: string
          format: uuid
        chain_id:
          type: string
        chain_family:
          $ref: '#/components/schemas/TradingChainFamily'
        evm_chain_id:
          type:
            - integer
            - 'null'
          format: int64
        wallet_address:
          type:
            - string
            - 'null'
        status:
          $ref: '#/components/schemas/TradeStatus'
        request:
          $ref: '#/components/schemas/TradeRecordRequest'
        transaction_ids:
          type: array
          items:
            type: string
        receipts:
          type: array
          items:
            $ref: '#/components/schemas/TransactionReceiptSummary'
        error_code:
          type:
            - string
            - 'null'
        error_message:
          type:
            - string
            - 'null'
        idempotency_key:
          type:
            - string
            - 'null'
        client_id:
          type:
            - string
            - 'null'
          format: uuid
        user_id:
          type:
            - string
            - 'null'
        organization_id:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        expires_at:
          type:
            - string
            - 'null'
          format: date-time
    DexTradingErrorEnvelope:
      type: object
      required:
        - success
        - message
        - error_code
        - category
        - retryable
        - data
        - info
      properties:
        success:
          type: boolean
        message:
          type: string
        error_code:
          type: string
        category:
          type: string
        retryable:
          type: boolean
        data:
          type: 'null'
          description: Errors have no response data; this field is always null.
        info:
          $ref: '#/components/schemas/DexTradingErrorInfo'
    TradingChainFamily:
      type: string
      enum:
        - evm
        - solana
    TradeStatus:
      type: string
      enum:
        - built
        - submitted
        - confirmed
        - failed
        - expired
    TradeRecordRequest:
      oneOf:
        - $ref: '#/components/schemas/TradeIntentRequest'
        - $ref: '#/components/schemas/LiquidityTransactionBuildRequest'
        - $ref: '#/components/schemas/SubmitRawTransactionsRequest'
        - $ref: '#/components/schemas/TrackTransactionsRequest'
      description: >-
        The original request used to build, submit, or track this trade.

        The response preserves the corresponding request's fields without a
        wrapper.
    TransactionReceiptSummary:
      type: object
      required:
        - transaction_id
        - status
      properties:
        transaction_id:
          type: string
        status:
          type: string
        block_number:
          type:
            - integer
            - 'null'
          format: int64
          minimum: 0
        block_hash:
          type:
            - string
            - 'null'
        slot:
          type:
            - integer
            - 'null'
          format: int64
          minimum: 0
        confirmation_status:
          type:
            - string
            - 'null'
        gas_used:
          type:
            - string
            - 'null'
        effective_gas_price:
          type:
            - string
            - 'null'
    DexTradingErrorInfo:
      type: object
      required:
        - version
        - credits_consumed
        - compute_time_ms
      properties:
        version:
          type: string
        credits_consumed:
          type: integer
          format: int32
          minimum: 0
        compute_time_ms:
          type: number
          format: float
    TradeIntentRequest:
      type: object
      required:
        - chain_id
        - token_in
        - token_out
      properties:
        chain_id:
          $ref: '#/components/schemas/TradingChainId'
          description: Chain id. Use `-1` for Solana or an EVM chain id such as `4663`.
        wallet_address:
          type:
            - string
            - 'null'
          description: >-
            Wallet that supplies the sell token and signs the returned
            transaction.
        recipient_address:
          type:
            - string
            - 'null'
          description: >-
            Optional wallet that receives the buy token. Defaults to
            `wallet_address`.
        token_in:
          type: string
          description: >-
            Sell token address. Use the chain's native token identifier for
            native swaps.
        token_out:
          type: string
          description: >-
            Buy token address. Use the chain's native token identifier for
            native swaps.
        amount:
          type:
            - string
            - 'null'
          description: >-
            Amount in normal token units, for example `1.5`. For `exact_in` it
            is

            the amount you sell; for `exact_out` it is the amount you buy. Use

            exactly one of `amount`, `amount_raw` or `amount_usd`.
        amount_raw:
          type:
            - string
            - 'null'
          description: >-
            Amount in the token's smallest unit (no decimals). For `exact_in` it
            is

            the amount you sell; for `exact_out` it is the amount you buy. Use

            exactly one of `amount`, `amount_raw` or `amount_usd`.
        amount_usd:
          type:
            - string
            - 'null'
          description: |-
            Solana only: USD value of `token_in` to sell. On EVM chains use
            `amount` or `amount_raw`.
        minimum_amount_out_raw:
          type:
            - string
            - 'null'
          description: >-
            Optional minimum amount to receive, in the buy token's smallest
            unit.

            The stricter of this and the slippage-based minimum is used. On EVM,

            taxes charged by the buy token itself may still reduce what arrives.
        maximum_amount_in_raw:
          type:
            - string
            - 'null'
          description: >-
            `exact_out` only: maximum amount to spend, in the sell token's
            smallest

            unit. Can only make the slippage protection stricter.
        slippage_bps:
          type:
            - integer
            - 'null'
          format: int32
          description: Slippage tolerance in basis points. `100` means 1%.
          minimum: 0
        direction:
          $ref: '#/components/schemas/TradeDirection'
          description: >-
            `exact_in` (default): you set how much you sell. `exact_out`: you
            set

            how much you want to receive.
        excluded_protocols:
          type: array
          items:
            type: string
          description: Protocols to exclude when selecting a route.
        only_protocols:
          type: array
          items:
            type: string
          description: Protocols to allow when selecting a route. Leave empty to allow any.
        only_routers:
          type: array
          items:
            type: string
          description: >-
            Solana only: limit which routing providers may be used. Leave empty
            on

            EVM chains.
        from_pool_id:
          type:
            - string
            - 'null'
          description: |-
            Force the first hop to use this pool. The rest of the route is found
            for you. If no route uses this pool, the request fails.
        to_pool_id:
          type:
            - string
            - 'null'
          description: >-
            Force the last hop to use this pool. The rest of the route is found
            for

            you. Can be combined with `from_pool_id`.
        use_rpc:
          type: boolean
          description: |-
            Solana only: price the swap from the very latest on-chain pool data.
            Slower. Try it if a swap fails because pool data changed. Default
            `false`.
        split_steps:
          type:
            - integer
            - 'null'
          format: int32
          description: >-
            Controls splitting a trade across several routes for a better price.

            Omit to let us split large trades automatically. `0` disables

            splitting. `2`-`20` sets how finely the split is searched (higher is

            finer). All splits run in one transaction and are listed in

            `route.splits`. A value other than `0` is not allowed with
            `exact_out`,

            `from_pool_id`/`to_pool_id`, or some single-protocol trades.
          minimum: 0
        restrict_intermediate_tokens:
          type:
            - boolean
            - 'null'
          description: >-
            When true (default), routes only pass through major tokens such as
            the

            native token, its wrapped form, stablecoins, and the main trading
            pair

            of the tokens you're swapping. Set false to allow any token in the

            middle of the route.
        max_accounts:
          type:
            - integer
            - 'null'
          format: int32
          description: >-
            Solana only: maximum number of accounts the transaction may use,
            from

            `24` to `64` (default `64`). Lower it if you add your own
            instructions

            to the same transaction.
          minimum: 0
        max_market_impact_bps:
          type:
            - integer
            - 'null'
          format: int32
          description: |-
            Optional price impact limit in basis points (`100` = 1%). Not
            available on EVM chains.
          minimum: 0
        sell_entire_balance:
          type:
            - boolean
            - 'null'
          description: >-
            Sell the wallet's whole balance of `token_in` at the moment the
            trade

            executes. Not available on EVM chains or with `exact_out`.
        fee_bps:
          type:
            - integer
            - 'null'
          format: int32
          description: |-
            Optional referral fee in basis points, paid to `fee_wallet`. Not
            available on EVM chains or with `exact_out`.
          minimum: 0
        fee_wallet:
          type:
            - string
            - 'null'
          description: Wallet that receives referral fees when `fee_bps` is set.
        prioritization_fee_lamports:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SolanaPriorityFeeLamports'
              description: Solana priority fee budget.
        dynamic_compute_unit_limit:
          type:
            - boolean
            - 'null'
          description: |-
            Solana only: add a compute unit limit sized for this swap to the
            transaction. Default `true`.
        jito_tip_lamports:
          type:
            - string
            - 'null'
          description: Solana Jito tip in lamports.
        multi_lander:
          type:
            - boolean
            - 'null'
          description: |-
            Solana only: prepare the transaction for sending through several
            landing services. Use with `lander_tip_lamports`.
        lander_tip_lamports:
          type:
            - string
            - 'null'
          description: Solana per-lander tip in lamports.
        payer_address:
          type:
            - string
            - 'null'
          description: >-
            Solana fee payer. When different from `wallet_address`, it also
            signs.
        close_authority:
          type:
            - string
            - 'null'
          description: Solana close authority for token accounts created during the swap.
        destination_wallet:
          type:
            - string
            - 'null'
          description: Solana token output recipient.
        swap_recipient_address:
          type:
            - string
            - 'null'
          description: >-
            Solana only: wallet that must receive the final output. The swap
            fails

            if the output goes elsewhere.
        deadline_unix_seconds:
          type:
            - integer
            - 'null'
          format: int64
          description: Optional execution deadline in Unix seconds.
          minimum: 0
        idempotency_key:
          type:
            - string
            - 'null'
          description: Caller-supplied key used to make repeated requests safe.
        metadata:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/TradeRequestMetadata'
              description: Caller metadata echoed in trade tracking records.
      additionalProperties: false
      example:
        chain_id: 4663
        wallet_address: '0x12a371444CCeBb6B64Cc35EBbC70d1d998433d51'
        token_in: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        token_out: '0x39dBED3a2bd333467115dE45665cC57F813C4571'
        amount: '100'
        slippage_bps: 100
        direction: exact_in
        only_protocols:
          - PonsV2
        to_pool_id: '0xEd50bDeeA8aDC232f159486192a4157281D722ff'
    LiquidityTransactionBuildRequest:
      type: object
      required:
        - chain_id
        - wallet_address
        - protocol
        - operation
        - pool_id
      properties:
        chain_id:
          $ref: '#/components/schemas/TradingChainId'
          description: Chain id. Use `-1` for Solana or an EVM chain id such as `4663`.
        wallet_address:
          type: string
          description: >-
            Wallet that owns the position or supplies tokens and signs the
            returned transaction.
        recipient_address:
          type:
            - string
            - 'null'
          description: >-
            Wallet that receives position NFTs or collected tokens. Defaults to
            `wallet_address`.
        protocol:
          $ref: '#/components/schemas/LiquidityProtocol'
          description: Liquidity protocol to build for.
        operation:
          $ref: '#/components/schemas/LiquidityOperation'
          description: Liquidity action to build.
        pool_id:
          type: string
          description: Uniswap V4 pool id as a 32-byte hex string.
        tick_lower:
          type:
            - integer
            - 'null'
          format: int32
          description: Lower tick for minting or increasing a position.
        tick_upper:
          type:
            - integer
            - 'null'
          format: int32
          description: Upper tick for minting or increasing a position.
        token_id:
          type:
            - string
            - 'null'
          description: >-
            Position NFT token id for increasing, decreasing, collecting, or
            burning.
        liquidity_raw:
          type:
            - string
            - 'null'
          description: >-
            Position liquidity amount. Required for direct increase/decrease
            unless amount caps are supplied for add operations.
        amount0_max_raw:
          type:
            - string
            - 'null'
          description: Maximum token0 amount the transaction may spend.
        amount1_max_raw:
          type:
            - string
            - 'null'
          description: Maximum token1 amount the transaction may spend.
        amount0_min_raw:
          type:
            - string
            - 'null'
          description: Minimum token0 amount to receive when decreasing or burning.
        amount1_min_raw:
          type:
            - string
            - 'null'
          description: Minimum token1 amount to receive when decreasing or burning.
        liquidity_percentage_bps:
          type:
            - integer
            - 'null'
          format: int32
          description: >-
            Percentage of current position liquidity to remove, in basis points.
            `10000` means 100%.
          minimum: 0
        slippage_bps:
          type:
            - integer
            - 'null'
          format: int32
          description: >-
            Slippage tolerance in basis points, included in previews and
            guardrails.
          minimum: 0
        hook_data:
          type:
            - string
            - 'null'
          description: Optional data passed to pool hooks.
        deadline_unix_seconds:
          type:
            - integer
            - 'null'
          format: int64
          description: Optional execution deadline in Unix seconds.
          minimum: 0
        idempotency_key:
          type:
            - string
            - 'null'
          description: Caller-supplied key used to make repeated requests safe.
        metadata:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/TradeRequestMetadata'
              description: Caller metadata echoed in tracking records.
    SubmitRawTransactionsRequest:
      type: object
      required:
        - chain_id
        - signed_transactions
      properties:
        chain_id:
          $ref: '#/components/schemas/TradingChainId'
          description: Chain id. Use `-1` for Solana or an EVM chain id such as `4663`.
        trade_id:
          type:
            - string
            - 'null'
          format: uuid
        wallet_address:
          type:
            - string
            - 'null'
        signed_transactions:
          type: array
          items:
            $ref: '#/components/schemas/SignedTransactionInput'
        await_confirmation:
          type:
            - boolean
            - 'null'
        idempotency_key:
          type:
            - string
            - 'null'
        metadata:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/TradeRequestMetadata'
    TrackTransactionsRequest:
      type: object
      required:
        - chain_id
        - transaction_ids
      properties:
        chain_id:
          $ref: '#/components/schemas/TradingChainId'
          description: Chain id. Use `-1` for Solana or an EVM chain id such as `4663`.
        trade_id:
          type:
            - string
            - 'null'
          format: uuid
        wallet_address:
          type:
            - string
            - 'null'
        transaction_ids:
          type: array
          items:
            type: string
        idempotency_key:
          type:
            - string
            - 'null'
        metadata:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/TradeRequestMetadata'
    TradingChainId:
      type: integer
      format: int64
      example: 4663
    TradeDirection:
      type: string
      enum:
        - exact_in
        - exact_out
    SolanaPriorityFeeLamports:
      oneOf:
        - type: string
          description: Use automatic priority fee selection.
        - type: integer
          format: int64
          description: Fixed priority fee budget in lamports.
          minimum: 0
        - $ref: '#/components/schemas/SolanaPriorityFeeBudget'
          description: Priority level with an upper lamport budget.
    TradeRequestMetadata:
      type: object
      properties:
        reference_id:
          type:
            - string
            - 'null'
          description: Caller-side order, quote, or request identifier.
        source:
          type:
            - string
            - 'null'
          description: Client application or integration label.
        user_id:
          type:
            - string
            - 'null'
          description: Caller-side user identifier.
        account_id:
          type:
            - string
            - 'null'
          description: Caller-side wallet or account grouping identifier.
        attributes:
          type:
            - object
            - 'null'
          description: Additional caller-defined string attributes.
          additionalProperties:
            type: string
          propertyNames:
            type: string
    LiquidityProtocol:
      type: string
      enum:
        - uniswap_v4
    LiquidityOperation:
      type: string
      enum:
        - mint_position
        - increase_liquidity
        - decrease_liquidity
        - collect_fees
        - burn_position
    SignedTransactionInput:
      type: object
      required:
        - signed_transaction
      properties:
        signed_transaction:
          type: string
          description: >-
            Signed transaction bytes encoded as hex for EVM or base64 for
            Solana.
        encoding:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SignedTransactionEncoding'
              description: >-
                Encoding of `signed_transaction`. Defaults to `hex` for EVM and
                `base64` for Solana.
        lander:
          type:
            - string
            - 'null'
          description: Optional Solana landing provider label for multi-lander submissions.
    SolanaPriorityFeeBudget:
      type: object
      required:
        - priority_level_with_max_lamports
      properties:
        priority_level_with_max_lamports:
          $ref: '#/components/schemas/SolanaPriorityLevelWithMaxLamports'
    SignedTransactionEncoding:
      type: string
      enum:
        - hex
        - base64
    SolanaPriorityLevelWithMaxLamports:
      type: object
      required:
        - priority_level
        - max_lamports
      properties:
        priority_level:
          $ref: '#/components/schemas/SolanaPriorityLevel'
          description: |-
            How quickly you want the transaction to land. Higher levels pay a
            higher priority fee.
        max_lamports:
          type: integer
          format: int64
          description: Maximum priority fee budget in lamports.
          minimum: 0
        global:
          type:
            - boolean
            - 'null'
          description: |-
            Base the fee on network-wide fees instead of fees for the accounts
            this swap touches.
    SolanaPriorityLevel:
      type: string
      enum:
        - medium
        - high
        - very_high
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Secret API key (`sk_*`) or JWT public key (`pk_jwt_*`).

````

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