NethermindEth/starknet.go

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

Aperta

#765 aperta il 26 giu 2025

 (3 commenti) (0 reazioni) (1 assegnatario)Go (140 fork)auto 404
good first issuehelp wanted

Metriche repository

Star
 (177 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor