NethermindEth/starknet.go

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

Open

#765 opened on Jun 26, 2025

 (3 comments) (0 reactions) (1 assignee)Go (140 forks)auto 404
good first issuehelp wanted

Repository metrics

Stars
 (177 stars)
PR merge metrics
 (PR metrics pending)

Description

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")

Contributor guide