historical ofac data example
Returns the latest 10 events on Ethereum, where transaction hash is 0xaffc…059a and block number is 17894128: block number, block time, call path, internal calls, from, to, signature name and 11 more fields.
What it returns
- block number
- block time
- call path
- internal calls
- from
- to
- signature name
- topics hash
- transaction type
- arguments name
- arguments type
- integer
- string
- value address
- big integer
- hex
- bool
- smart contract
Filters
- transaction hash is 0xaffc…059a
- block number is 17894128
The query
query MyQuery {
EVM(dataset: archive, network: eth) {
Events(
limit: {count: 10}
orderBy: {descending: Block_Time}
where: {Transaction: {Hash: {is: "0xaffc906f070c27c62b308bb65a7f0dae5c018ab1ce99745a7d29fd79f31b059a"}}, Block: {Number: {eq: "17894128"}}}
) {
Block {
Number
Time
}
Call {
CallPath
InternalCalls
From
To
Signature {
Name
}
}
Topics {
Hash
}
Transaction {
From
To
Type
}
Arguments {
Name
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 {
Signature {
Name
}
SmartContract
}
}
}
}
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