The signer of the new account to be added.
Determines whether the current user can send messages to the specified peers over groups.
This method checks if the specified peers are using clients that support group messaging.
The addresses of the peers to check for messaging eligibility.
A Promise resolving to a hash of addresses and booleans if they can message on the V3 network.
Decrypts an encrypted local attachment.
This asynchronous method takes an encrypted local attachment and decrypts it.
The encrypted local attachment to be decrypted.
A Promise that resolves to the decrypted local attachment.
Throws an error if the attachment is not a local file URI (must start with "file://").
Encrypts a local attachment for secure transmission.
This asynchronous method takes a file, checks if it's a local file URI, and encrypts the attachment for secure transmission.
The local attachment to be encrypted.
A Promise that resolves to the encrypted local attachment.
Throws an error if the attachment is not a local file URI (must start with "file://").
Make a request for a list of inbox states.
If you want to refresh the current state the inbox from the network or not.
The inboxIds to get the associate inbox states for.
A Promise resolving to a list of InboxState.
Remove this account from the current inboxId.
The signer object used for authenticate the removal.
The address of the wallet you'd like to remove from the account.
Revoke all other installations but the current one.
Verify the signature was signed with this clients installation key.
The message that was signed.
The signature.
A Promise resolving to a boolean if the signature verified or not.
Static
buildBuilds a instance of the Client class using the provided address and chainId if SCW.
The address of the account to build
A Promise that resolves to a new Client instance.
See XMTP Docs for more information.
Static
createCreates a new instance of the Client class using the provided signer.
A Promise that resolves to a new Client instance.
See XMTP Docs for more information.
Static
createCreates a new instance of the XMTP Client with a randomly generated address.
A Promise that resolves to a new Client instance with a random address.
Static
dropDrop the client from memory. Use when you want to remove the client from memory and are done with it.
Static
exportStatic
getStatic method to determine the inboxId for the address.
Generated using TypeDoc
Add this account to the current inboxId.