Filter real-time queries by swap signature

Streams DEX trades on Ethereum as they happen, where signature signature is Swap(address,address,int256,int256,uint160,uint128,int24): buy buyer, buy float, buy seller, buy currency name, buy fungible, buy currency symbol, signature name and 2 more fields.

By Divyasshree N · saved 24 January 2023 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: eth) {
    DEXTrades(
      Log: {Signature: {Signature: {is: "Swap(address,address,int256,int256,uint160,uint128,int24)"}}}
    ) {
      Trade {
        Buy {
          Buyer
          Amount {
            Float
          }
          Seller
          Currency {
            Name
            Fungible
            Symbol
          }
        }
      }
      Log {
        Signature {
          Name
          Signature
        }
        SmartContract
      }
    }
  }
}

Similar queries