ton trades data

Returns the latest 10 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 Akshat · saved 5 November 2024 · run 15 times · Bitquery API v2

What it returns

The query

query {
  Ton(network: ton) {
    DEXTrades(limit:{count:10} orderBy:{descending:Block_Time}) {
      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