UNPKG

@metamask/keyring-api

Version:
11 lines 380 B
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