Getting specific Event from a smart contract..
Returns the latest 30 events on Ethereum, where log header address is 0x2946…a20b and signature name is LoanOfferTaken: block number, transaction hash, smart contract, signature name, signature signature, arguments name, arguments index and 7 more fields.
What it returns
- block number
- transaction hash
- smart contract
- signature name
- signature signature
- arguments name
- arguments index
- arguments type
- integer
- string
- value address
- big integer
- hex
- bool
Filters
- log header address is 0x2946…a20b
- signature name is LoanOfferTaken
The query
{
EVM(dataset: combined, network: eth) {
Events(
where: {LogHeader: {Address: {is: "0x29469395eaf6f95920e59f858042f0e28d98a20b"}}, Log: {Signature: {Name: {is: "LoanOfferTaken"}}}}
limit: {count: 30}
orderBy: {descending: Block_Time}
) {
Block {
Number
}
Transaction {
Hash
}
Log {
SmartContract
Signature {
Name
Signature
}
}
Arguments {
Name
Index
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
}
}
}
}
}
}
Similar queries
- New Curve liquidity pools on Ethereum · Ethereum · Events
- New Metric liquidity pools on Ethereum · Ethereum · Events
- event api · Ethereum · Events
- eth deposit contract events · Ethereum · Events
- eth_okx_aproove · Ethereum · Events