search for data using asset id
Returns the latest event on Polygon, where signature name is Questi…ized or Condit…tion and log header address is 0x4d97…6045 or 0x6507…f2A7: block time, block number, block hash, transaction hash, from, to, success and 7 more fields.
What it returns
- block time
- block number
- block hash
- transaction hash
- from
- to
- success
- arguments name
- integer
- value address
- string
- big integer
- hex
- bool
Filters
- signature name is Questi…ized or Condit…tion
- log header address is 0x4d97…6045 or 0x6507…f2A7
The query
{
EVM(dataset: archive, network: matic) {
Events(
orderBy: {descending: Block_Time}
where: {Block: {Time: {since_relative: {days_ago: 12}}}, Arguments: {includes: {Name: {in: ["questionID","conditionId"]}, Value: {Bytes: {is: "867550f34b2251bdea33f3850e73826d903fca40aac03cd86d3bad778badbcfe"}}}}, Log: {Signature: {Name: {in: ["QuestionInitialized","ConditionPreparation"]}}}, LogHeader: {Address: {in: ["0x4d97dcd97ec945f40cf65f87097ace5ea0476045","0x65070BE91477460D8A7AeEb94ef92fe056C2f2A7"]}}}
limit: {count: 1}
) {
Block {
Time
Number
Hash
}
Transaction {
Hash
From
To
}
TransactionStatus {
Success
}
Arguments {
Name
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Similar queries
- Polymarket: Neg Risk CTF Exchange contract -- OrderFilled Event · Polygon · Events
- Polymarket: Neg Risk CTF Exchange contract -- OrderMatched Event · Polygon · Events
- PolyMarket - Latest Resolved Questions · Polygon · Events
- find question creation of question id · Polygon · Events
- find question creation · Polygon · Events