correct query to get tokenregistered using assetids
correct query to get tokenregistered using multiple assetids
Returns the latest 10 events on Polygon, where log header address is 0x4bFb…982E or 0xC5d5…f80a and signature name is TokenRegistered: block time, block number, block hash, transaction hash, from, to, success and 9 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
- smart contract
- signature name
Filters
- log header address is 0x4bFb…982E or 0xC5d5…f80a
- signature name is TokenRegistered
The query
{
EVM(dataset: archive, network: matic) {
Events(
orderBy: {descending: Block_Time}
where: {Arguments: {includes: {Value: {String: {in: ["87769991026114894163580777793845523168226980076553814689875238288185044414090","23571232197133715841862019771415899747760230365044655567356458282755182586356"]}}}}, Log: {Signature: {Name: {is: "TokenRegistered"}}}, Block: {Time: {since_relative: {days_ago: 10}}}, LogHeader: {Address: {in: ["0x4bFb41d5B3570DeFd03C39a9A4D8dE6Bd8B8982E", "0xC5d563A36AE78145C45a50134d48A1215220f80a"]}}}
limit: {count: 10}
) {
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
}
}
}
Log {
SmartContract
Signature {
Name
}
}
}
}
}
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