import { useMyMember } from '@towns-protocol/react-sdk'
function useMyMember( streamId: string, config?: ObservableConfig.FromObservable<Member>, ): { id: string; userId: string; streamId: string; initialized: boolean; username: string; isUsernameConfirmed: boolean; isUsernameEncrypted: boolean; displayName: string; isDisplayNameEncrypted?: boolean; ensAddress?: string; nft?: NftModel; membership?: MembershipOp; }
string
ObservableConfig.FromObservable<Member>
{ id: string; userId: string; streamId: string; initialized: boolean; username: string; isUsernameConfirmed: boolean; isUsernameEncrypted: boolean; displayName: string; isDisplayNameEncrypted?: boolean; ensAddress?: string; nft?: NftModel; membership?: MembershipOp; }
Was this page helpful?