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

# Trades de pools de Solana V2 por WebSocket

> Trades de pools de Solana V2 en vivo: recibe por WebSocket de Datastream los trades de un token de Solana en un pool, en formato v2.

Los trades de un token en un pool. Sala: `v2:transaction:{mint}:{pool}`. Es la versión en vivo de [`GET /v2/trades/{token}/{pool}`](https://docs.solanatracker.io/es/data-api/trades-v2/token/get-pool-trades). Para una stablecoin (USDC, USDT, USD1 o CASH), la sala incluye cada tramo de esa stablecoin en el pool.

## WebSocket example

```javascript theme={null}
const token = "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN";
const pool = "9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2";
const room = `v2:transaction:${token}:${pool}`;
const ws = new WebSocket("wss://datastream.solanatracker.io/YOUR_API_KEY");

ws.addEventListener("open", () => {
  ws.send(JSON.stringify({ type: "join", room }));
});

ws.addEventListener("message", (event) => {
  const msg = JSON.parse(event.data);
  if (msg.type === "ping") return ws.send(JSON.stringify({ type: "pong" }));
  if (msg.type !== "message") return;

  const { trades, tokens, wallets } = msg.data;
  for (const t of trades) {
    const symbol = tokens[t.token]?.symbol ?? t.token;
    console.log(t.tx, t.type, t.amount, symbol, `$${t.volumeUsd.toFixed(2)}`, wallets[t.wallet]?.name ?? t.wallet);
  }
});
```

Cada mensaje es una página de trades nuevos en el formato `/v2`, sin los campos de cursor. Los trades siempre incluyen todo el detalle, con identidades de wallets cuando se conocen. Carga el historial desde la ruta REST.

## SDK Example

```typescript theme={null}
import { Datastream } from '@solana-tracker/data-api';

const dataStream = new Datastream({
  wsUrl: 'wss://datastream.solanatracker.io/YOUR_API_KEY',
});

dataStream.on('error', console.error);
await dataStream.connect();

const sub = dataStream.subscribe.tradesV2.pool('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', '9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2').on((data) => {
  console.log(data.trades);
});

// sub.unsubscribe();
```


## AsyncAPI

````yaml es/datastream/trades-v2.json poolTradesV2
id: poolTradesV2
title: Stream Solana Pool Trades V2
description: >-
  Los trades de un token en un pool. Sala: `v2:transaction:{mint}:{pool}`. Es la
  versión en vivo de [`GET
  /v2/trades/{token}/{pool}`](/es/data-api/trades-v2/token/get-pool-trades).
  Para una stablecoin (USDC, USDT, USD1 o CASH), la sala incluye cada tramo de
  esa stablecoin en el pool.
servers:
  - id: production
    protocol: wss
    host: datastream.solanatracker.io
    bindings: []
    variables:
      - id: apiKey
        description: Su clave API única de la suscripción a Data API
        defaultValue: YOUR_DATASTREAM_KEY
        allowedValues: []
        examples: []
address: /
parameters: []
bindings: []
operations:
  - &ref_20
    id: subscribePoolTradesV2
    title: Subscribe pool trades v2
    description: Subscribe to pool trades
    type: receive
    messages:
      - &ref_23
        id: join
        payload:
          - name: Subscribe to pool trades
            type: object
            properties:
              - name: type
                type: string
                description: join
                required: true
              - name: room
                type: string
                description: v2:transaction:{mint}:{pool}
                required: true
        headers: []
        jsonPayloadSchema:
          type: object
          required:
            - type
            - room
          properties:
            type:
              type: string
              const: join
              default: join
              x-parser-schema-id: <anonymous-schema-119>
            room:
              type: string
              pattern: ^v2:transaction:[A-Za-z0-9]{32,44}:[A-Za-z0-9]{32,44}$
              default: >-
                v2:transaction:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN:9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2
              description: v2:transaction:{mint}:{pool}
              x-parser-schema-id: <anonymous-schema-120>
          examples:
            - type: join
              room: >-
                v2:transaction:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN:9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2
          x-parser-schema-id: <anonymous-schema-118>
        title: Subscribe to pool trades
        example: |-
          {
            "type": "join",
            "room": "v2:transaction:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN:9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: join
          - id: x-parser-message-name
            value: join
    bindings: []
    extensions: &ref_19
      - id: x-codeSamples
        value: &ref_26
          - lang: javascript
            label: WebSocket
            source: >
              const token = "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN";

              const pool = "9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2";

              const room = `v2:transaction:${token}:${pool}`;

              const ws = new
              WebSocket("wss://datastream.solanatracker.io/YOUR_API_KEY");


              ws.addEventListener("open", () => {
                ws.send(JSON.stringify({ type: "join", room }));
              });


              ws.addEventListener("message", (event) => {
                const msg = JSON.parse(event.data);
                if (msg.type === "ping") return ws.send(JSON.stringify({ type: "pong" }));
                if (msg.type !== "message") return;

                const { trades, tokens, wallets } = msg.data;
                for (const t of trades) {
                  const symbol = tokens[t.token]?.symbol ?? t.token;
                  console.log(t.tx, t.type, t.amount, symbol, `$${t.volumeUsd.toFixed(2)}`, wallets[t.wallet]?.name ?? t.wallet);
                }
              });
          - lang: typescript
            label: SDK
            source: >
              import { Datastream } from '@solana-tracker/data-api';


              const dataStream = new Datastream({
                wsUrl: 'wss://datastream.solanatracker.io/YOUR_API_KEY',
              });


              dataStream.on('error', console.error);

              await dataStream.connect();


              const sub =
              dataStream.subscribe.tradesV2.pool('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN',
              '9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2').on((data) => {
                console.log(data.trades);
              });


              // sub.unsubscribe();
      - id: x-parser-unique-object-id
        value: poolTradesV2
  - &ref_22
    id: receivePoolTradesV2
    title: Receive pool trades v2
    description: Receive pool trades
    type: send
    messages:
      - &ref_25
        id: message
        payload:
          - name: New pool trades
            type: object
            properties:
              - name: type
                type: string
                description: message
                required: true
              - name: room
                type: string
                required: true
              - name: data
                type: object
                description: >-
                  Trades nuevos de la sala, con el formato de una página de
                  trades `/v2` sin los campos de cursor.
                required: true
                properties:
                  - name: trades
                    type: array
                    description: Los más recientes primero.
                    required: true
                    properties:
                      - name: tx
                        type: &ref_1
                          - string
                          - 'null'
                        description: Firma de la transacción. null cuando no se conoce.
                        required: true
                      - name: slot
                        type: integer
                        description: Slot del bloque.
                        required: true
                      - name: txIndex
                        type: integer
                        description: Posición de la transacción en su bloque.
                        required: true
                      - name: swapIndex
                        type: integer
                        description: Posición del swap en su transacción.
                        required: true
                      - name: time
                        type: integer
                        description: >-
                          Hora del bloque en milisegundos Unix. Muchos trades
                          comparten la misma hora: ordena por `slot`, `txIndex`
                          y `swapIndex`.
                        required: true
                      - name: type
                        type: string
                        description: Compra o venta de `token`.
                        enumValues:
                          - buy
                          - sell
                        required: true
                      - name: wallet
                        type: string
                        description: >-
                          El trader: `owner`, o `feePayer` cuando el owner es
                          una vault de un programa.
                        required: true
                      - name: owner
                        type: string
                        description: La cuenta cuyos saldos de tokens cambiaron.
                        required: true
                      - name: feePayer
                        type: string
                        description: >-
                          La cuenta que firmó y pagó la comisión de la
                          transacción. Difiere de `owner` en trades
                          retransmitidos y enrutados.
                        required: true
                      - name: token
                        type: string
                        description: >-
                          Mint del token negociado. Sus metadatos están en
                          `tokens`.
                        required: true
                      - name: amount
                        type: number
                        description: Cantidad de `token`, en tokens enteros.
                        required: true
                      - name: priceUsd
                        type: &ref_2
                          - number
                          - 'null'
                        description: >-
                          Precio en USD de `token` en el trade. null cuando no
                          se pudo valorar el trade.
                        required: true
                      - name: priceSol
                        type: &ref_3
                          - number
                          - 'null'
                        description: Precio de `token` en SOL en el trade.
                        required: true
                      - name: marketCapUsd
                        type: &ref_4
                          - number
                          - 'null'
                        description: >-
                          `priceUsd` por el suministro actual del token. null
                          cuando alguno de los dos se desconoce.
                        required: true
                      - name: quoteToken
                        type: string
                        description: >-
                          Mint del otro lado del swap. Sus metadatos están en
                          `tokens`.
                        required: true
                      - name: quoteAmount
                        type: number
                        description: Cantidad de `quoteToken`, en tokens enteros.
                        required: true
                      - name: quotePriceUsd
                        type: &ref_5
                          - number
                          - 'null'
                        description: Precio en USD de `quoteToken` en el trade.
                        required: true
                      - name: volumeUsd
                        type: number
                        description: Valor del trade en USD. 0 cuando no se pudo valorar.
                        required: true
                      - name: volumeSol
                        type: &ref_6
                          - number
                          - 'null'
                        description: Valor del trade en SOL.
                        required: true
                      - name: solPriceUsd
                        type: &ref_7
                          - number
                          - 'null'
                        description: Precio de SOL en USD en el trade.
                        required: true
                      - name: program
                        type: string
                        description: >-
                          El programa que hizo el swap, como `pumpfun-amm`,
                          `meteora-dlmm` o `jupiter`.
                        required: true
                      - name: platform
                        type: &ref_8
                          - string
                          - 'null'
                        description: >-
                          La app de trading por la que pasó el trade, como
                          `axiom`, `photon` o `gmgn`, cuando se conoce.
                        required: true
                      - name: pools
                        type: array
                        description: Pools por los que pasó el swap, en orden.
                        required: true
                        properties:
                          - name: item
                            type: string
                            required: false
                      - name: roundTrip
                        type: boolean
                        description: >-
                          La misma transacción también negoció este token en
                          sentido contrario en el mismo pool.
                        required: true
                      - name: relayed
                        type: boolean
                        description: >-
                          Alguien distinto de `owner` pagó la comisión de la
                          transacción.
                        required: true
                      - name: priceEstimated
                        type: boolean
                        description: >-
                          Valorado con el precio en USD de otro token en lugar
                          de un tramo en SOL o stablecoin, por lo que es menos
                          exacto.
                        required: true
                      - name: noPool
                        type: boolean
                        description: >-
                          No se pudo identificar el pool. `pools` puede estar
                          vacío.
                        required: true
                      - name: transferFee
                        type: boolean
                        description: >-
                          En este swap se retuvo una comisión de transferencia
                          de Token-2022.
                        required: true
                      - name: from
                        type: object
                        description: Un lado de un swap, con cantidades exactas.
                        required: true
                        properties:
                          - name: mint
                            type: string
                            required: true
                          - name: decimals
                            type: integer
                            required: true
                          - name: amount
                            type: number
                            description: En tokens enteros.
                            required: true
                          - name: amountRaw
                            type: string
                            description: En unidades base, como cadena.
                            required: true
                          - name: priceUsd
                            type: &ref_0
                              - number
                              - 'null'
                            description: >-
                              Precio en USD de este mint en el trade. null
                              cuando no tiene.
                            required: true
                          - name: residualRaw
                            type: string
                            description: >-
                              Otro movimiento de este mint en la misma
                              transacción, aparte del swap, como rent, propinas
                              o una comisión de plataforma. En unidades base,
                              como cadena.
                            required: true
                          - name: walletChangeRaw
                            type: string
                            description: >-
                              El cambio de saldo del owner en este mint durante
                              toda la transacción, negativo en `from`. Incluye
                              rent y propinas, no la comisión de red. Para SOL,
                              los lamports y el wrapped SOL cuentan juntos. En
                              unidades base, como cadena.
                            required: true
                      - name: to
                        type: object
                        description: Un lado de un swap, con cantidades exactas.
                        required: true
                        properties:
                          - name: mint
                            type: string
                            required: true
                          - name: decimals
                            type: integer
                            required: true
                          - name: amount
                            type: number
                            description: En tokens enteros.
                            required: true
                          - name: amountRaw
                            type: string
                            description: En unidades base, como cadena.
                            required: true
                          - name: priceUsd
                            type: *ref_0
                            description: >-
                              Precio en USD de este mint en el trade. null
                              cuando no tiene.
                            required: true
                          - name: residualRaw
                            type: string
                            description: >-
                              Otro movimiento de este mint en la misma
                              transacción, aparte del swap, como rent, propinas
                              o una comisión de plataforma. En unidades base,
                              como cadena.
                            required: true
                          - name: walletChangeRaw
                            type: string
                            description: >-
                              El cambio de saldo del owner en este mint durante
                              toda la transacción, negativo en `from`. Incluye
                              rent y propinas, no la comisión de red. Para SOL,
                              los lamports y el wrapped SOL cuentan juntos. En
                              unidades base, como cadena.
                            required: true
                      - name: fees
                        type: object
                        description: Comisiones de la transacción.
                        required: true
                        properties:
                          - name: txLamports
                            type: integer
                            description: >-
                              Comisión de red en lamports, incluida la comisión
                              de prioridad.
                            required: true
                          - name: priorityLamports
                            type: integer
                            description: Comisión de prioridad en lamports.
                            required: true
                          - name: signatures
                            type: integer
                            description: Número de firmas de la transacción.
                            required: true
                          - name: tipLamports
                            type: integer
                            description: >-
                              Propina pagada a un servicio de landing, en
                              lamports.
                            required: true
                          - name: tipService
                            type: &ref_10
                              - string
                              - 'null'
                            description: >-
                              El servicio de landing que recibió la propina,
                              como `jito` o `helius-sender`.
                            required: true
                          - name: platformFeeRaw
                            type: string
                            description: >-
                              Comisión pagada a la app de trading, en unidades
                              base de `platformFeeMint`, como cadena. `0` cuando
                              no se encontró ninguna.
                            required: true
                          - name: platformFeeMint
                            type: &ref_11
                              - string
                              - 'null'
                            description: Mint en el que se pagó la comisión de plataforma.
                            required: true
                          - name: platformFeeApp
                            type: &ref_12
                              - string
                              - 'null'
                            description: >-
                              La app que recibió la comisión de plataforma, como
                              `axiom` o `fomo`. null cuando no se encontró
                              ninguna.
                            required: true
                          - name: totalUsd
                            type: &ref_13
                              - number
                              - 'null'
                            description: >-
                              Comisión de red, propina y comisión de plataforma
                              en USD. Se excluye una comisión de plataforma en
                              un mint sin precio en este trade.
                            required: true
                      - name: compute
                        type: object
                        required: true
                        properties:
                          - name: unitsConsumed
                            type: integer
                            description: Unidades de cómputo que usó la transacción.
                            required: true
                          - name: unitLimit
                            type: &ref_14
                              - integer
                              - 'null'
                            description: >-
                              Límite de unidades de cómputo que fijó la
                              transacción. null cuando no fijó ninguno.
                            required: true
                          - name: unitPriceMicroLamports
                            type: &ref_15
                              - integer
                              - 'null'
                            description: >-
                              Precio de la unidad de cómputo en micro-lamports.
                              null cuando se pagó una comisión de prioridad pero
                              no se conoce el precio.
                            required: true
                      - name: route
                        type: object
                        required: true
                        properties:
                          - name: programId
                            type: &ref_16
                              - string
                              - 'null'
                            description: Dirección del programa de `program`.
                            required: true
                          - name: router
                            type: &ref_17
                              - string
                              - 'null'
                            description: El router por el que pasó el swap, si lo hay.
                            required: true
                          - name: priceMint
                            type: &ref_18
                              - string
                              - 'null'
                            description: El mint del que se derivó el precio del trade.
                            required: true
                          - name: instructionIndex
                            type: integer
                            description: >-
                              Índice de la instrucción de nivel superior que
                              contiene el swap.
                            required: true
                          - name: txPrograms
                            type: array
                            description: Todos los programas que llamó la transacción.
                            required: true
                            properties:
                              - name: item
                                type: string
                                required: false
                  - name: tokens
                    type: object
                    description: >-
                      Cada mint de `trades`, una sola vez, por dirección de
                      mint.
                    required: true
                  - name: pools
                    type: object
                    description: Los pools de `trades`, por dirección de pool.
                    required: true
                  - name: wallets
                    type: object
                    description: >-
                      Las wallets conocidas de `trades`, por el campo `wallet`
                      de cada trade.
                    required: true
        headers: []
        jsonPayloadSchema:
          type: object
          required:
            - type
            - room
            - data
          properties:
            type:
              type: string
              const: message
              x-parser-schema-id: <anonymous-schema-122>
            room:
              type: string
              pattern: ^v2:transaction:[A-Za-z0-9]{32,44}:[A-Za-z0-9]{32,44}$
              x-parser-schema-id: <anonymous-schema-123>
            data:
              type: object
              description: >-
                Trades nuevos de la sala, con el formato de una página de trades
                `/v2` sin los campos de cursor.
              required:
                - trades
                - tokens
                - pools
                - wallets
              properties:
                trades:
                  type: array
                  items:
                    type: object
                    description: >-
                      Un swap. Un trade entre dos tokens son dos trades: la
                      compra de uno y la venta del otro.
                    required:
                      - tx
                      - slot
                      - txIndex
                      - swapIndex
                      - time
                      - type
                      - wallet
                      - owner
                      - feePayer
                      - token
                      - amount
                      - priceUsd
                      - priceSol
                      - marketCapUsd
                      - quoteToken
                      - quoteAmount
                      - quotePriceUsd
                      - volumeUsd
                      - volumeSol
                      - solPriceUsd
                      - program
                      - platform
                      - pools
                      - roundTrip
                      - relayed
                      - priceEstimated
                      - noPool
                      - transferFee
                      - from
                      - to
                      - fees
                      - compute
                      - route
                    properties:
                      tx:
                        type: *ref_1
                        description: Firma de la transacción. null cuando no se conoce.
                        x-parser-schema-id: <anonymous-schema-8>
                      slot:
                        type: integer
                        description: Slot del bloque.
                        x-parser-schema-id: <anonymous-schema-9>
                      txIndex:
                        type: integer
                        description: Posición de la transacción en su bloque.
                        x-parser-schema-id: <anonymous-schema-10>
                      swapIndex:
                        type: integer
                        description: Posición del swap en su transacción.
                        x-parser-schema-id: <anonymous-schema-11>
                      time:
                        type: integer
                        description: >-
                          Hora del bloque en milisegundos Unix. Muchos trades
                          comparten la misma hora: ordena por `slot`, `txIndex`
                          y `swapIndex`.
                        x-parser-schema-id: <anonymous-schema-12>
                      type:
                        type: string
                        description: Compra o venta de `token`.
                        enum:
                          - buy
                          - sell
                        x-parser-schema-id: <anonymous-schema-13>
                      wallet:
                        type: string
                        description: >-
                          El trader: `owner`, o `feePayer` cuando el owner es
                          una vault de un programa.
                        x-parser-schema-id: <anonymous-schema-14>
                      owner:
                        type: string
                        description: La cuenta cuyos saldos de tokens cambiaron.
                        x-parser-schema-id: <anonymous-schema-15>
                      feePayer:
                        type: string
                        description: >-
                          La cuenta que firmó y pagó la comisión de la
                          transacción. Difiere de `owner` en trades
                          retransmitidos y enrutados.
                        x-parser-schema-id: <anonymous-schema-16>
                      token:
                        type: string
                        description: >-
                          Mint del token negociado. Sus metadatos están en
                          `tokens`.
                        x-parser-schema-id: <anonymous-schema-17>
                      amount:
                        type: number
                        description: Cantidad de `token`, en tokens enteros.
                        x-parser-schema-id: <anonymous-schema-18>
                      priceUsd:
                        type: *ref_2
                        description: >-
                          Precio en USD de `token` en el trade. null cuando no
                          se pudo valorar el trade.
                        x-parser-schema-id: <anonymous-schema-19>
                      priceSol:
                        type: *ref_3
                        description: Precio de `token` en SOL en el trade.
                        x-parser-schema-id: <anonymous-schema-20>
                      marketCapUsd:
                        type: *ref_4
                        description: >-
                          `priceUsd` por el suministro actual del token. null
                          cuando alguno de los dos se desconoce.
                        x-parser-schema-id: <anonymous-schema-21>
                      quoteToken:
                        type: string
                        description: >-
                          Mint del otro lado del swap. Sus metadatos están en
                          `tokens`.
                        x-parser-schema-id: <anonymous-schema-22>
                      quoteAmount:
                        type: number
                        description: Cantidad de `quoteToken`, en tokens enteros.
                        x-parser-schema-id: <anonymous-schema-23>
                      quotePriceUsd:
                        type: *ref_5
                        description: Precio en USD de `quoteToken` en el trade.
                        x-parser-schema-id: <anonymous-schema-24>
                      volumeUsd:
                        type: number
                        description: Valor del trade en USD. 0 cuando no se pudo valorar.
                        x-parser-schema-id: <anonymous-schema-25>
                      volumeSol:
                        type: *ref_6
                        description: Valor del trade en SOL.
                        x-parser-schema-id: <anonymous-schema-26>
                      solPriceUsd:
                        type: *ref_7
                        description: Precio de SOL en USD en el trade.
                        x-parser-schema-id: <anonymous-schema-27>
                      program:
                        type: string
                        description: >-
                          El programa que hizo el swap, como `pumpfun-amm`,
                          `meteora-dlmm` o `jupiter`.
                        x-parser-schema-id: <anonymous-schema-28>
                      platform:
                        type: *ref_8
                        description: >-
                          La app de trading por la que pasó el trade, como
                          `axiom`, `photon` o `gmgn`, cuando se conoce.
                        x-parser-schema-id: <anonymous-schema-29>
                      pools:
                        type: array
                        items:
                          type: string
                          x-parser-schema-id: <anonymous-schema-31>
                        description: Pools por los que pasó el swap, en orden.
                        x-parser-schema-id: <anonymous-schema-30>
                      roundTrip:
                        type: boolean
                        description: >-
                          La misma transacción también negoció este token en
                          sentido contrario en el mismo pool.
                        x-parser-schema-id: <anonymous-schema-32>
                      relayed:
                        type: boolean
                        description: >-
                          Alguien distinto de `owner` pagó la comisión de la
                          transacción.
                        x-parser-schema-id: <anonymous-schema-33>
                      priceEstimated:
                        type: boolean
                        description: >-
                          Valorado con el precio en USD de otro token en lugar
                          de un tramo en SOL o stablecoin, por lo que es menos
                          exacto.
                        x-parser-schema-id: <anonymous-schema-34>
                      noPool:
                        type: boolean
                        description: >-
                          No se pudo identificar el pool. `pools` puede estar
                          vacío.
                        x-parser-schema-id: <anonymous-schema-35>
                      transferFee:
                        type: boolean
                        description: >-
                          En este swap se retuvo una comisión de transferencia
                          de Token-2022.
                        x-parser-schema-id: <anonymous-schema-36>
                      from: &ref_9
                        type: object
                        description: Un lado de un swap, con cantidades exactas.
                        required:
                          - mint
                          - decimals
                          - amount
                          - amountRaw
                          - priceUsd
                          - residualRaw
                          - walletChangeRaw
                        properties:
                          mint:
                            type: string
                            x-parser-schema-id: <anonymous-schema-37>
                          decimals:
                            type: integer
                            x-parser-schema-id: <anonymous-schema-38>
                          amount:
                            type: number
                            description: En tokens enteros.
                            x-parser-schema-id: <anonymous-schema-39>
                          amountRaw:
                            type: string
                            description: En unidades base, como cadena.
                            x-parser-schema-id: <anonymous-schema-40>
                          priceUsd:
                            type: *ref_0
                            description: >-
                              Precio en USD de este mint en el trade. null
                              cuando no tiene.
                            x-parser-schema-id: <anonymous-schema-41>
                          residualRaw:
                            type: string
                            description: >-
                              Otro movimiento de este mint en la misma
                              transacción, aparte del swap, como rent, propinas
                              o una comisión de plataforma. En unidades base,
                              como cadena.
                            x-parser-schema-id: <anonymous-schema-42>
                          walletChangeRaw:
                            type: string
                            description: >-
                              El cambio de saldo del owner en este mint durante
                              toda la transacción, negativo en `from`. Incluye
                              rent y propinas, no la comisión de red. Para SOL,
                              los lamports y el wrapped SOL cuentan juntos. En
                              unidades base, como cadena.
                            x-parser-schema-id: <anonymous-schema-43>
                        x-parser-schema-id: TradeLegV2
                      to: *ref_9
                      fees:
                        type: object
                        description: Comisiones de la transacción.
                        required:
                          - txLamports
                          - priorityLamports
                          - signatures
                          - tipLamports
                          - tipService
                          - platformFeeRaw
                          - platformFeeMint
                          - platformFeeApp
                          - totalUsd
                        properties:
                          txLamports:
                            type: integer
                            description: >-
                              Comisión de red en lamports, incluida la comisión
                              de prioridad.
                            x-parser-schema-id: <anonymous-schema-44>
                          priorityLamports:
                            type: integer
                            description: Comisión de prioridad en lamports.
                            x-parser-schema-id: <anonymous-schema-45>
                          signatures:
                            type: integer
                            description: Número de firmas de la transacción.
                            x-parser-schema-id: <anonymous-schema-46>
                          tipLamports:
                            type: integer
                            description: >-
                              Propina pagada a un servicio de landing, en
                              lamports.
                            x-parser-schema-id: <anonymous-schema-47>
                          tipService:
                            type: *ref_10
                            description: >-
                              El servicio de landing que recibió la propina,
                              como `jito` o `helius-sender`.
                            x-parser-schema-id: <anonymous-schema-48>
                          platformFeeRaw:
                            type: string
                            description: >-
                              Comisión pagada a la app de trading, en unidades
                              base de `platformFeeMint`, como cadena. `0` cuando
                              no se encontró ninguna.
                            x-parser-schema-id: <anonymous-schema-49>
                          platformFeeMint:
                            type: *ref_11
                            description: Mint en el que se pagó la comisión de plataforma.
                            x-parser-schema-id: <anonymous-schema-50>
                          platformFeeApp:
                            type: *ref_12
                            description: >-
                              La app que recibió la comisión de plataforma, como
                              `axiom` o `fomo`. null cuando no se encontró
                              ninguna.
                            x-parser-schema-id: <anonymous-schema-51>
                          totalUsd:
                            type: *ref_13
                            description: >-
                              Comisión de red, propina y comisión de plataforma
                              en USD. Se excluye una comisión de plataforma en
                              un mint sin precio en este trade.
                            x-parser-schema-id: <anonymous-schema-52>
                        x-parser-schema-id: TradeFeesV2
                      compute:
                        type: object
                        required:
                          - unitsConsumed
                          - unitLimit
                          - unitPriceMicroLamports
                        properties:
                          unitsConsumed:
                            type: integer
                            description: Unidades de cómputo que usó la transacción.
                            x-parser-schema-id: <anonymous-schema-53>
                          unitLimit:
                            type: *ref_14
                            description: >-
                              Límite de unidades de cómputo que fijó la
                              transacción. null cuando no fijó ninguno.
                            x-parser-schema-id: <anonymous-schema-54>
                          unitPriceMicroLamports:
                            type: *ref_15
                            description: >-
                              Precio de la unidad de cómputo en micro-lamports.
                              null cuando se pagó una comisión de prioridad pero
                              no se conoce el precio.
                            x-parser-schema-id: <anonymous-schema-55>
                        x-parser-schema-id: TradeComputeV2
                      route:
                        type: object
                        required:
                          - programId
                          - router
                          - priceMint
                          - instructionIndex
                          - txPrograms
                        properties:
                          programId:
                            type: *ref_16
                            description: Dirección del programa de `program`.
                            x-parser-schema-id: <anonymous-schema-56>
                          router:
                            type: *ref_17
                            description: El router por el que pasó el swap, si lo hay.
                            x-parser-schema-id: <anonymous-schema-57>
                          priceMint:
                            type: *ref_18
                            description: El mint del que se derivó el precio del trade.
                            x-parser-schema-id: <anonymous-schema-58>
                          instructionIndex:
                            type: integer
                            description: >-
                              Índice de la instrucción de nivel superior que
                              contiene el swap.
                            x-parser-schema-id: <anonymous-schema-59>
                          txPrograms:
                            type: array
                            items:
                              type: string
                              x-parser-schema-id: <anonymous-schema-61>
                            description: Todos los programas que llamó la transacción.
                            x-parser-schema-id: <anonymous-schema-60>
                        x-parser-schema-id: TradeRouteV2
                    x-parser-schema-id: TradeV2
                  description: Los más recientes primero.
                  x-parser-schema-id: <anonymous-schema-7>
                tokens:
                  type: object
                  additionalProperties:
                    type: object
                    description: >-
                      Metadatos del token, vigentes en el momento de la
                      solicitud.
                    required:
                      - name
                      - symbol
                      - decimals
                      - image
                      - supply
                    properties:
                      name:
                        type:
                          - string
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-63>
                      symbol:
                        type:
                          - string
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-64>
                      decimals:
                        type:
                          - integer
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-65>
                      image:
                        type:
                          - string
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-66>
                      supply:
                        type:
                          - number
                          - 'null'
                        description: Suministro actual, en tokens enteros.
                        x-parser-schema-id: <anonymous-schema-67>
                      uri:
                        type:
                          - string
                          - 'null'
                        description: URI de metadatos.
                        x-parser-schema-id: <anonymous-schema-68>
                      description:
                        type:
                          - string
                          - 'null'
                        description: Como máximo 2,000 caracteres.
                        x-parser-schema-id: <anonymous-schema-69>
                      creator:
                        type:
                          - string
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-70>
                      createdOn:
                        type:
                          - string
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-71>
                      twitter:
                        type:
                          - string
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-72>
                      telegram:
                        type:
                          - string
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-73>
                      website:
                        type:
                          - string
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-74>
                    x-parser-schema-id: TradeTokenV2
                  description: Cada mint de `trades`, una sola vez, por dirección de mint.
                  x-parser-schema-id: <anonymous-schema-62>
                pools:
                  type: object
                  additionalProperties:
                    type: object
                    description: El pool tal como está ahora, no en el momento del trade.
                    required:
                      - market
                      - tokenAddress
                      - quoteToken
                      - liquidityUsd
                      - lpBurn
                      - createdAt
                    properties:
                      market:
                        type:
                          - string
                          - 'null'
                        description: DEX del pool.
                        x-parser-schema-id: <anonymous-schema-76>
                      tokenAddress:
                        type:
                          - string
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-77>
                      quoteToken:
                        type:
                          - string
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-78>
                      liquidityUsd:
                        type:
                          - number
                          - 'null'
                        x-parser-schema-id: <anonymous-schema-79>
                      lpBurn:
                        type:
                          - number
                          - 'null'
                        description: Porcentaje de tokens LP quemados.
                        x-parser-schema-id: <anonymous-schema-80>
                      createdAt:
                        type:
                          - integer
                          - 'null'
                        description: Milisegundos Unix.
                        x-parser-schema-id: <anonymous-schema-81>
                    x-parser-schema-id: TradePoolV2
                  description: Los pools de `trades`, por dirección de pool.
                  x-parser-schema-id: <anonymous-schema-75>
                wallets:
                  type: object
                  additionalProperties:
                    type: object
                    description: >-
                      Lo que se sabe de una wallet: perfil de KOL, plataformas
                      de trading, etiquetas de desarrollador o de pool, bots y
                      nombre SNS. Solo se devuelven los campos conocidos.
                      Etiquetas actuales, no una instantánea del momento del
                      trade.
                    properties:
                      type:
                        type: string
                        description: >-
                          Etiqueta principal para interfaces con una sola
                          insignia, como `kol`, `bot`, `pool`, `developer` o una
                          etiqueta de plataforma.
                        x-parser-schema-id: <anonymous-schema-83>
                      tags:
                        type: array
                        items:
                          type: string
                          x-parser-schema-id: <anonymous-schema-85>
                        examples:
                          - - kol
                            - axiom
                            - sns
                        x-parser-schema-id: <anonymous-schema-84>
                      name:
                        type: string
                        x-parser-schema-id: <anonymous-schema-86>
                      twitter:
                        type: string
                        x-parser-schema-id: <anonymous-schema-87>
                      avatar:
                        type: string
                        x-parser-schema-id: <anonymous-schema-88>
                      platforms:
                        type: array
                        items:
                          type: string
                          x-parser-schema-id: <anonymous-schema-90>
                        x-parser-schema-id: <anonymous-schema-89>
                      platformProfiles:
                        type: object
                        additionalProperties:
                          type: object
                          additionalProperties: true
                          x-parser-schema-id: <anonymous-schema-92>
                        x-parser-schema-id: <anonymous-schema-91>
                      sns:
                        type: object
                        properties:
                          domain:
                            type: string
                            examples:
                              - trader.sol
                            x-parser-schema-id: <anonymous-schema-94>
                        x-parser-schema-id: <anonymous-schema-93>
                      developer:
                        type: object
                        properties:
                          token:
                            type:
                              - string
                              - 'null'
                            x-parser-schema-id: <anonymous-schema-96>
                          via:
                            type: array
                            items:
                              type: string
                              x-parser-schema-id: <anonymous-schema-98>
                            x-parser-schema-id: <anonymous-schema-97>
                          pools:
                            type: array
                            items:
                              type: string
                              x-parser-schema-id: <anonymous-schema-100>
                            x-parser-schema-id: <anonymous-schema-99>
                          creationTx:
                            type:
                              - string
                              - 'null'
                            x-parser-schema-id: <anonymous-schema-101>
                          createdAt:
                            type:
                              - integer
                              - 'null'
                            description: Marca de tiempo Unix en segundos.
                            x-parser-schema-id: <anonymous-schema-102>
                        x-parser-schema-id: <anonymous-schema-95>
                      pool:
                        type: object
                        properties:
                          program:
                            type:
                              - string
                              - 'null'
                            x-parser-schema-id: <anonymous-schema-104>
                          poolAddress:
                            type:
                              - string
                              - 'null'
                            x-parser-schema-id: <anonymous-schema-105>
                        x-parser-schema-id: <anonymous-schema-103>
                      exchange:
                        type: object
                        description: >-
                          Etiqueta de hot wallet de un exchange centralizado,
                          cuando se conoce.
                        properties:
                          name:
                            type:
                              - string
                              - 'null'
                            x-parser-schema-id: <anonymous-schema-107>
                        x-parser-schema-id: <anonymous-schema-106>
                      bot:
                        type: object
                        properties:
                          name:
                            type:
                              - string
                              - 'null'
                            x-parser-schema-id: <anonymous-schema-109>
                          avatar:
                            type:
                              - string
                              - 'null'
                            format: uri
                            x-parser-schema-id: <anonymous-schema-110>
                        x-parser-schema-id: <anonymous-schema-108>
                      hacker:
                        type: object
                        description: >-
                          Etiqueta curada de wallet de exploit o estafa, cuando
                          se conoce.
                        properties:
                          label:
                            type:
                              - string
                              - 'null'
                            x-parser-schema-id: <anonymous-schema-112>
                        x-parser-schema-id: <anonymous-schema-111>
                      spamDusting:
                        type: object
                        description: >-
                          Etiqueta curada de wallet de spam dusting, cuando se
                          conoce.
                        properties:
                          label:
                            type:
                              - string
                              - 'null'
                            x-parser-schema-id: <anonymous-schema-114>
                        x-parser-schema-id: <anonymous-schema-113>
                    x-parser-schema-id: WalletIdentityV2
                  description: >-
                    Las wallets conocidas de `trades`, por el campo `wallet` de
                    cada trade.
                  x-parser-schema-id: <anonymous-schema-82>
              x-parser-schema-id: TradesV2Live
          examples:
            - type: message
              room: >-
                v2:transaction:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN:9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2
              data:
                trades:
                  - tx: >-
                      5V4apVkgHf49J5acYPiuh5rB89EGsF8ocSysgnD9vFfZsTtDamhN3MFDKJSq7Dn7Z6Y5XhjghuVYuvvYWnSFpnvW
                    slot: 470027315
                    txIndex: 312
                    swapIndex: 0
                    time: 1794733462000
                    type: sell
                    wallet: F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi
                    owner: F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi
                    feePayer: F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi
                    token: 6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN
                    amount: 90
                    priceUsd: 6.002467911111111
                    priceSol: 0.03285243233052986
                    marketCapUsd: 6002464620.378128
                    quoteToken: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                    quoteAmount: 540.222112
                    quotePriceUsd: 1
                    volumeUsd: 540.222112
                    volumeSol: 2.956718909747688
                    solPriceUsd: 182.71
                    program: meteora-dlmm
                    platform: axiom
                    pools:
                      - 9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2
                    roundTrip: false
                    relayed: false
                    priceEstimated: false
                    noPool: false
                    transferFee: false
                    from:
                      mint: 6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN
                      decimals: 6
                      amount: 90
                      amountRaw: '90000000'
                      priceUsd: 6.002467911111111
                      residualRaw: '0'
                      walletChangeRaw: '-90000000'
                    to:
                      mint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                      decimals: 6
                      amount: 540.222112
                      amountRaw: '540222112'
                      priceUsd: 1
                      residualRaw: '0'
                      walletChangeRaw: '540222112'
                    fees:
                      txLamports: 105000
                      priorityLamports: 100000
                      signatures: 1
                      tipLamports: 1000000
                      tipService: jito
                      platformFeeRaw: '2956624'
                      platformFeeMint: So11111111111111111111111111111111111111112
                      platformFeeApp: axiom
                      totalUsd: 0.742099
                    compute:
                      unitsConsumed: 148213
                      unitLimit: 200000
                      unitPriceMicroLamports: 500000
                    route:
                      programId: LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo
                      router: null
                      priceMint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                      instructionIndex: 3
                      txPrograms:
                        - ComputeBudget111111111111111111111111111111
                        - LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo
                        - TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
                        - '11111111111111111111111111111111'
                tokens:
                  6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN:
                    name: OFFICIAL TRUMP
                    symbol: TRUMP
                    decimals: 6
                    image: >-
                      https://image.solanatracker.io/proxy?url=https%3A%2F%2Farweave.net%2FVQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw
                    supply: 999999451.77
                    uri: >-
                      https://arweave.net/cSCP0h2n1crjeSWE9KF-XtLciJalDNFs7Vf-Sm0NNY0
                    description: null
                    creator: null
                    createdOn: null
                    twitter: null
                    telegram: null
                    website: https://gettrumpmemes.com
                  EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v:
                    name: USD Coin
                    symbol: USDC
                    decimals: 6
                    image: >-
                      https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v%2Flogo.png
                    supply: 8873651024.53
                    uri: null
                    description: null
                    creator: null
                    createdOn: null
                    twitter: null
                    telegram: null
                    website: null
                pools:
                  9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2:
                    market: meteora-dlmm
                    tokenAddress: 6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN
                    quoteToken: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                    liquidityUsd: 41872931.44
                    lpBurn: 0
                    createdAt: 1737165082000
                wallets:
                  F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi:
                    type: axiom
                    tags:
                      - axiom
                    platforms:
                      - axiom
          x-parser-schema-id: <anonymous-schema-121>
        title: New pool trades
        example: |-
          {
            "type": "message",
            "room": "v2:transaction:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN:9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2",
            "data": {
              "trades": [
                {
                  "tx": "5V4apVkgHf49J5acYPiuh5rB89EGsF8ocSysgnD9vFfZsTtDamhN3MFDKJSq7Dn7Z6Y5XhjghuVYuvvYWnSFpnvW",
                  "slot": 470027315,
                  "txIndex": 312,
                  "swapIndex": 0,
                  "time": 1794733462000,
                  "type": "sell",
                  "wallet": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
                  "owner": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
                  "feePayer": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
                  "token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
                  "amount": 90,
                  "priceUsd": 6.002467911111111,
                  "priceSol": 0.03285243233052986,
                  "marketCapUsd": 6002464620.378128,
                  "quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                  "quoteAmount": 540.222112,
                  "quotePriceUsd": 1,
                  "volumeUsd": 540.222112,
                  "volumeSol": 2.956718909747688,
                  "solPriceUsd": 182.71,
                  "program": "meteora-dlmm",
                  "platform": "axiom",
                  "pools": [
                    "9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
                  ],
                  "roundTrip": false,
                  "relayed": false,
                  "priceEstimated": false,
                  "noPool": false,
                  "transferFee": false,
                  "from": {
                    "mint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
                    "decimals": 6,
                    "amount": 90,
                    "amountRaw": "90000000",
                    "priceUsd": 6.002467911111111,
                    "residualRaw": "0",
                    "walletChangeRaw": "-90000000"
                  },
                  "to": {
                    "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                    "decimals": 6,
                    "amount": 540.222112,
                    "amountRaw": "540222112",
                    "priceUsd": 1,
                    "residualRaw": "0",
                    "walletChangeRaw": "540222112"
                  },
                  "fees": {
                    "txLamports": 105000,
                    "priorityLamports": 100000,
                    "signatures": 1,
                    "tipLamports": 1000000,
                    "tipService": "jito",
                    "platformFeeRaw": "2956624",
                    "platformFeeMint": "So11111111111111111111111111111111111111112",
                    "platformFeeApp": "axiom",
                    "totalUsd": 0.742099
                  },
                  "compute": {
                    "unitsConsumed": 148213,
                    "unitLimit": 200000,
                    "unitPriceMicroLamports": 500000
                  },
                  "route": {
                    "programId": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
                    "router": null,
                    "priceMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                    "instructionIndex": 3,
                    "txPrograms": [
                      "ComputeBudget111111111111111111111111111111",
                      "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
                      "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
                      "11111111111111111111111111111111"
                    ]
                  }
                }
              ],
              "tokens": {
                "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN": {
                  "name": "OFFICIAL TRUMP",
                  "symbol": "TRUMP",
                  "decimals": 6,
                  "image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Farweave.net%2FVQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
                  "supply": 999999451.77,
                  "uri": "https://arweave.net/cSCP0h2n1crjeSWE9KF-XtLciJalDNFs7Vf-Sm0NNY0",
                  "description": null,
                  "creator": null,
                  "createdOn": null,
                  "twitter": null,
                  "telegram": null,
                  "website": "https://gettrumpmemes.com"
                },
                "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v": {
                  "name": "USD Coin",
                  "symbol": "USDC",
                  "decimals": 6,
                  "image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v%2Flogo.png",
                  "supply": 8873651024.53,
                  "uri": null,
                  "description": null,
                  "creator": null,
                  "createdOn": null,
                  "twitter": null,
                  "telegram": null,
                  "website": null
                }
              },
              "pools": {
                "9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2": {
                  "market": "meteora-dlmm",
                  "tokenAddress": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
                  "quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                  "liquidityUsd": 41872931.44,
                  "lpBurn": 0,
                  "createdAt": 1737165082000
                }
              },
              "wallets": {
                "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi": {
                  "type": "axiom",
                  "tags": [
                    "axiom"
                  ],
                  "platforms": [
                    "axiom"
                  ]
                }
              }
            }
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: message
          - id: x-parser-message-name
            value: message
    bindings: []
    extensions: *ref_19
  - &ref_21
    id: unsubscribePoolTradesV2
    title: Unsubscribe pool trades v2
    description: Unsubscribe from pool trades
    type: receive
    messages:
      - &ref_24
        id: leave
        payload:
          - name: Unsubscribe from pool trades
            type: object
            properties:
              - name: type
                type: string
                description: leave
                required: true
              - name: room
                type: string
                description: v2:transaction:{mint}:{pool}
                required: true
        headers: []
        jsonPayloadSchema:
          type: object
          required:
            - type
            - room
          properties:
            type:
              type: string
              const: leave
              default: leave
              x-parser-schema-id: <anonymous-schema-125>
            room:
              type: string
              pattern: ^v2:transaction:[A-Za-z0-9]{32,44}:[A-Za-z0-9]{32,44}$
              default: >-
                v2:transaction:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN:9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2
              description: v2:transaction:{mint}:{pool}
              x-parser-schema-id: <anonymous-schema-126>
          examples:
            - type: leave
              room: >-
                v2:transaction:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN:9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2
          x-parser-schema-id: <anonymous-schema-124>
        title: Unsubscribe from pool trades
        example: |-
          {
            "type": "leave",
            "room": "v2:transaction:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN:9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: leave
          - id: x-parser-message-name
            value: leave
    bindings: []
    extensions: *ref_19
sendOperations:
  - *ref_20
  - *ref_21
receiveOperations:
  - *ref_22
sendMessages:
  - *ref_23
  - *ref_24
receiveMessages:
  - *ref_25
extensions:
  - id: x-codeSamples
    value: *ref_26
  - id: x-parser-unique-object-id
    value: poolTradesV2
securitySchemes:
  - id: apiKeyAuth
    name: apiKey
    type: httpApiKey
    description: >-
      API key para la autenticación. Incluye tu clave de Datastream en la URL de
      conexión: wss://datastream.solanatracker.io/{DATASTREAM_KEY}
    in: header
    extensions: []

````

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