Skip to main content

INTMAX Connect

A method requesting the user to connect with the wallet.

Request Parameters

None

Response Parameters

ParameterTypeDescription
IntmaxConnectResult

Request Example

Request Example
const intmax = intmaxWalletClient();
webmax.on("intmax/intmax_connect", async (c) => {
if (isConnected(c, connections)) {
return c.success({
supportedNamespaces: ["eip155", "intmax"],
supportedChains: supportedChains,
accounts: { eip155: ethereumAccounts },
});
}

Response Example

type IntmaxConnectResult = {
supportedNamespaces: Namespace[];
supportedChains: ChainedNamespace[];
accounts: {
eip155: EthereumAddress[];
};
};