@metamask/keyring-api
Version:
MetaMask Keyring API
11 lines • 380 B
JavaScript
import { EthAccountType } from "../api/index.mjs";
/**
* Checks if the given type is an EVM account type.
*
* @param type - The type to check.
* @returns Returns true if the type is an EVM account type, false otherwise.
*/
export function isEvmAccountType(type) {
return type === EthAccountType.Eoa || type === EthAccountType.Erc4337;
}
//# sourceMappingURL=utils.mjs.map