Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Releasing v1.4.0

Compare
Choose a tag to compare
@itzmeanjan itzmeanjan released this 20 Jan 14:09
· 300 commits to main since this release
f296956

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.