Hi! Im porting my dapp from XMTP v2 to v3.
Im at the point where I can receive msgs from xmtp.chat into my dapp, but I cannot figure out how to fetch the address, just the InboxId.
whats the correct way to get an address now?
Hi! Im porting my dapp from XMTP v2 to v3.
Im at the point where I can receive msgs from xmtp.chat into my dapp, but I cannot figure out how to fetch the address, just the InboxId.
whats the correct way to get an address now?
@xunorus, addresses are part of an inbox’s identities. get inbox state to see the associated addresses.
for the current client, see these docs: Manage XMTP inboxes, identities, and installations – Build with XMTP
to get the identities of members of a group, see these docs: Manage group permissions – Build with XMTP
to get identities from a list of inbox IDs, use the Client.inboxStateFromInboxIds static method.
Greeeat! I’ve been stuck for ages on that simple thing.
PS. How do I search inboxId by address?