Does #NDK have a method for fetching an event from an naddr or nostr:naddr… (nip21 uri)?

nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft nostr:npub1zuuajd7u3sx8xu92yav9jwxpr839cs0kc3q6t56vd5u9q033xmhsk6c2uc

Reply to this note

Please Login to reply.

Discussion

Yup. As long as you’re using a recent NDK version just pass the id to fetchEvent

Is it possible to use fetchEvents with an array of ids?

Not yet. PRs welcome though 😉

nostr:note1p42vsmkrrxe89d88kkyhmgnh5d25flq96zp6fq53syc89sk7kaesjghjjz