Latest Trades on TON

Returns the latest 100 DEX trades on TON: block time, shard, buy amount, buy currency name, buy smart contract address, buy buyer address, buy workchain and 7 more fields.

By Divyasshree · saved 24 October 2024 · run 95 times · Bitquery API v2

What it returns

The query

query MyQuery {
  Ton(network: ton) {
    DEXTrades(orderBy: {descending: Block_Time}, limit: {count: 100}) {
      Block {
        Time
        Shard
      }
      Trade {
        Buy {
          Amount
          Currency {
            Name
            SmartContract {
              Address
            }
          }
          Buyer {
            Address
            Workchain
          }
        }
        Dex {
          ProtocolName
          SmartContract {
            Address
          }
        }
        Sell {
          Amount
          Currency {
            Name
          }
          Seller {
            Address
            Workchain
          }
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries