ton address issue and transaction success

Returns the latest 10 DEX trades by token on TON, where smart contract address is EQB420yQsZobGcy0VYDfSKHpG2QQlw-j1f_tPu1J488I__PX: success, trade amount, buyer address, smart contract address, currency symbol, currency name, protocol name and 12 more fields.

By Akshat · saved 10 February 2025 · run 18 times · Bitquery API v2

What it returns

Filters

The query

{
  Ton {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Trade: {Currency: {SmartContract: {Address: {is: "EQB420yQsZobGcy0VYDfSKHpG2QQlw-j1f_tPu1J488I__PX"}}}}}
    ) {
      Transaction{
        Success
      }
      Trade {
        Amount
        Buyer {
          Address
        }
        Currency {
          SmartContract {
            Address
          }
          Symbol
          Name
        }
        Dex {
          SmartContract {
            Address
          }
          ProtocolName
        }
        Price
        Seller {
          Address
        }
        Side {
          Type
          AmountInUSD
          Amount
          Buyer {
            Address
          }
          Currency {
            Symbol
            SmartContract {
              Address
            }
            Name
          }
          Seller {
            Address
          }
        }
      }
      Block {
        Time
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries