Skip to content

Utility for read events, and helper method in rpc.TransactionReceiptWithBlockInfo using it #765

@thiagodeev

Description

@thiagodeev

A utility to filter events in a []rpc.Event slice would be nice to have, and have a method in the rpc.TransactionReceiptWithBlockInfo type to filter the events from it would also be great.

Ex:

myEvent := utils.EventWith(eventSlice, "event_key")
myEvent := txReceipt.EventWith("event_key")

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomershelp wantedHelp from collaborators will be appreciated

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions