registerAccount abstract method

void registerAccount({
  1. required String chainId,
  2. required String accountAddress,
})
inherited

Register accounts for a given namespace or chainId. Used to construct the Namespaces map for the session proposal. Each account must follow the namespace:chainId:address format or this will throw an error.

Implementation

void registerAccount({
  required String chainId,
  required String accountAddress,
});