Polymarket: Neg Risk CTF Exchange contract -- OrderFilled Event

Returns the latest 1000 events on Polygon, where log address is 0xc5d5…f80a and signature name is OrderFilled: block time, transaction hash, arguments name, bytes, integer, value address and string.

By ye wu · saved 24 December 2025 · Bitquery API v2

What it returns

Filters

The query

query {
  EVM(dataset: combined, network: matic) {
    Events(
      where: {
        Log: {Address: {is: "0xc5d563a36ae78145c45a50134d48a1215220f80a"}}  # CTF Exchange 合约
        Signature: {Name: {is: "OrderFilled"}}
        Arguments: {
          includes: {
            Name: {is: "conditionId"}
            Value: {Bytes: {is: "0x2659b8c1822b2f0790f73d67090195d87d1a4c53f189086381e6c801235dcb2e"}}
          }
        }
      }
      orderBy: {descending: Block_Time}
      limit: {count: 1000}  # 可加大到 10000,或加 offset 分页
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
      }
      Arguments {
        Name
        Value {
          ... on EVM_ABI_Bytes { bytes }
          ... on EVM_ABI_Int { integer }
          ... on EVM_ABI_Address { address }
          ... on EVM_ABI_String { string }
        }
      }
    }
  }
}

Similar queries