Realtime trades for TON network

Streams DEX trades on TON as they happen: block time, shard, buy amount in USD, buy amount, buy buyer address, buy workchain, buy currency name and 20 more fields.

By Akshat · saved 8 November 2024 · run 6 times · Bitquery API v2

What it returns

The subscription

subscription MyQuery {
  Ton(network: ton) {
    DEXTrades {
      Block {
        Time
        Shard
      }
      Trade {
        Buy {
          AmountInUSD
          Amount
          Buyer {
            Address
            Workchain
          }
          Currency {
            Name
            Symbol
            SmartContract {
              Address
            }
          }
          Price
          PriceInUSD
          Seller {
            Address
            Workchain
          }
        }
        Dex {
          ProtocolName
          ProtocolVersion
          ProtocolFamily
          SmartContract {
            Address
          }
        }
        Sell {
          Amount
          AmountInUSD
          Buyer {
            Workchain
            Address
          }
          Currency {
            Name
            ImageURI
            Symbol
          }
          Price
          PriceInUSD
          Seller {
            Workchain
            Address
          }
        }
        Transaction {
          Hash
        }
      }
    }
  }
}

Similar queries