SUBSCRIBE_LARGE_TRADE_TXS

Subscribing to Real-Time Large Trades Volume (SUBSCRIBE_LARGE_TRADE_TXS)

This WebSocket message is used to subscribe to large trade transactions filtered by specified volume thresholds in USD.

Key Notes:

  • The min_volume parameter is mandatory and sets the lower bound for the trade volume in USD, the min allowable set is 1000.
  • The max_volume parameter is optional but must be higher than min_volume when provided.
  • Transactions outside the specified volume range will be excluded from the subscription.
  • The response includes trades for all tokens that meet the volume criteria, regardless of token type or trading pair.

Subscribe Large Trades

Message

{
    "type": "SUBSCRIBE_LARGE_TRADE_TXS",
    "min_volume": 10000,
    "max_volume": 20000
}

Output Example

{
    "type": "TXS_LARGE_TRADE_DATA",
    "data": {
        "blockUnixTime": 1734345250,
        "blockHumanTime": "2024-12-16T10:34:10",
        "owner": "7wWGFsrUnCjDS5mSxSZVgqqX2KBvS7muUTgAyB3pZQ4s",
        "source": "lifinity",
        "poolAddress": "Gkt4BpMRFxhhrrVMQsewM74ggriAbxyN2yUYDD9qt1NV",
        "txHash": "5TDU8rdEYXzmiJmGB6xeB9VsmQGXrQvefsto65jXJfgb2dZu19zt2nWxxTuhdKUCGyHPbBfyPhyuxpDgfP5Qfd3d",
        "volumeUSD": 12903.754274606412,
        "network": "solana",
        "from": {
            "symbol": "SOL",
            "decimals": 9,
            "address": "So11111111111111111111111111111111111111112",
            "uiAmount": 59.283968522,
            "price": null,
            "nearestPrice": 217.64374028102003,
            "uiChangeAmount": -59.283968522
        },
        "to": {
            "symbol": "USDC",
            "decimals": 6,
            "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
            "uiAmount": 12904.206438,
            "price": null,
            "nearestPrice": 0.99996496,
            "uiChangeAmount": 12904.206438
        }
    }
}

Explanation:

type: Indicates the type of data (TXS_LARGE_TRADE_DATA).
data: Contains detailed transaction information.
blockUnixTime and blockHumanTime: Block timestamp in UNIX and human-readable formats.
owner: Address of the trader executing the transaction.
source: Source of the trade (e.g., liquidity provider or protocol).
poolAddress: Address of the trading pool.
txHash: Transaction hash for tracking.
volumeUSD: Trade volume in USD.
network: Blockchain network where the trade occurred.
from and to: Details of the traded assets, including symbols, addresses, amounts, and pricing information.