OptionalgetOptional host-backed badge lookup for the current user.
Current signer pubkey, or "" when no signer is connected.
Original identity.getBadges request envelope.
Badges awarded to the user.
OptionalgetOptional host-backed block-list lookup for the current user.
Current signer pubkey, or "" when no signer is connected.
Original identity.getBlocked request envelope.
Hex-encoded blocked pubkeys.
OptionalgetOptional host-backed follow-list lookup for the current user.
Current signer pubkey, or "" when no signer is connected.
Original identity.getFollows request envelope.
Hex-encoded followed pubkeys.
OptionalgetOptional host-backed categorized-list lookup for the current user.
Requested list category from the wire envelope.
Current signer pubkey, or "" when no signer is connected.
Original identity.getList request envelope.
List entries.
OptionalgetOptional host-backed mute-list lookup for the current user.
Current signer pubkey, or "" when no signer is connected.
Original identity.getMutes request envelope.
Hex-encoded muted pubkeys.
OptionalgetOptional host-backed profile lookup for the current user.
Kehto does not query relays itself; hosts that already maintain kind-0 metadata can provide it here without replacing the whole identity service.
Current signer pubkey, or "" when no signer is connected.
Original identity.getProfile request envelope.
Profile metadata, or null when unavailable.
Return the NIP-07-compatible signer (or null) used to resolve identity.getPublicKey / identity.getRelays. Called on every request — availability can change dynamically.
OptionalgetOptional host-backed zap receipt lookup for the current user.
Current signer pubkey, or "" when no signer is connected.
Original identity.getZaps request envelope.
Zap receipts.
Options for creating the identity service.
Example