eth_subscribe("logs")
Streams events as they happen, where signature name is Transfer: smart contract, signature name, signature signature, block number, block hash, block time, transaction hash and 9 more fields.
What it returns
- smart contract
- signature name
- signature signature
- block number
- block hash
- block time
- transaction hash
- from
- value in USD
- transaction value
- to
- transaction type
- data
- log header address
- log header index
- removed
Filters
- signature name is Transfer
The subscription
subscription {
EVM(mempool: true) {
Events(where: {Log: {Signature: {Name: {is: "Transfer"}}}}) {
Log {
SmartContract
Signature {
Name
Signature
}
}
Block {
Number
Hash
Time
}
Transaction {
Hash
From
ValueInUSD
Value
To
Type
}
LogHeader {
Data
Address
Index
Removed
}
}
}
}
Similar queries
- All ethereum events with specific signature · Ethereum · Events
- All ethereum events · Ethereum · Events
- Latest pools created Uniswap v3 · Ethereum · Events
- stream new position mints on Fluid DEX Vault · Ethereum · Events
- stream pool and pair creation on ethereum · Ethereum · Events