This repository has been archived by the owner on Jan 13, 2023. It is now read-only.
Releasing v1.4.0
Changes
Now ette
can help you in fetching certain event log given block number/ hash & log index in block. Both REST & GraphQL APIs support it.
type Query {
eventByBlockHashAndLogIndex(hash: String!, index: String!): Event!
eventByBlockNumberAndLogIndex(number: String!, index: String!): Event!
}
In response you'll receive 👇
type Event {
origin: String!
index: String!
topics: [String!]!
data: String!
txHash: String!
blockHash: String!
}
And as it's also available using GraphQL API, you get to choose what are specific fields you want to receive in response.