any idea why event_refs and pubkey_refs are not being recognized as instance variables?
filters = Filter(pubkey_refs=['your_hex_pub'])
is giving me TyprError: __init__() got an unexpected keyword argument ‘pubkey_refs’
any idea why event_refs and pubkey_refs are not being recognized as instance variables?
filters = Filter(pubkey_refs=['your_hex_pub'])
is giving me TyprError: __init__() got an unexpected keyword argument ‘pubkey_refs’
Don't understand why you get an error there. Maybe you need an additional argument? I use pubkey_refs for example in a filter like this:
filters_pm = Filter(kinds=[EventKind.CONTACTS], pubkey_refs=['user_pub_key'])
to fetch all users who have a specific pubkey in their contact list (following it)