Wmatic / USDT trade subscription

Streams DEX trades as they happen, where buy currency smart contract is 0x0d50…1270 and sell currency smart contract is 0xc213…8e8f: smart contract, buy buyer, buy seller, buy amount, buy amount in USD, buy currency name, buy currency symbol and 6 more fields.

By gaurav · saved 1 August 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"}}}, Sell: {Currency: {SmartContract: {is: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f"}}}}}
    ) {
      Trade {
        Dex {
          SmartContract
        }
        Buy {
          Buyer
          Seller
          Amount
          AmountInUSD
          Currency {
            Name
            Symbol
            SmartContract
          }
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            Name
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries