Swap event uniswap v3

Returns the latest 10 events on Ethereum, where log smart contract is 0x9db9…425b and signature name is Swap: chain ID, call index, arguments index, arguments name, path index, path name, path type and 16 more fields.

By gaurav · saved 14 February 2024 · run 27 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    Events(
      orderBy: {descending: Block_Time}
      limit: {count: 10}
      where: {Log: {Signature: {Name: {is: "Swap"}}, SmartContract: {is: "0x9db9e0e53058c89e5b94e29621a205198648425b"}}}
    ) {
      ChainId
      Call {
        Index
      }
      Arguments {
        Index
        Name
        Path {
          Index
          Name
          Type
        }
        Type
        Value {
          ... on EVM_ABI_Integer_Value_Arg {
            integer
          }
          ... on EVM_ABI_String_Value_Arg {
            string
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
          ... on EVM_ABI_Boolean_Value_Arg {
            bool
          }
        }
      }
      Log {
        LogAfterCallIndex
        EnterIndex
        ExitIndex
        Index
        SmartContract
        Signature {
          Parsed
          Signature
          SignatureHash
          Name
        }
      }
    }
  }
}

Similar queries