UNPKG

@metamask/keyring-api

Version:
14 lines 499 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isEvmAccountType = isEvmAccountType; const api_1 = require("../api/index.cjs"); /** * 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. */ function isEvmAccountType(type) { return type === api_1.EthAccountType.Eoa || type === api_1.EthAccountType.Erc4337; } //# sourceMappingURL=utils.cjs.map