@metamask/snaps-utils
Version:
A collection of utilities for MetaMask Snaps
22 lines • 570 B
text/typescript
import type { SnapId } from "@metamask/snaps-sdk";
import type { Json } from "@metamask/utils";
/**
* Copy of the original type from
* https://github.com/MetaMask/accounts/blob/main/packages/keyring-internal-api/src/types.ts
*/
export type InternalAccount = {
id: string;
type: string;
address: string;
options: Record<string, Json>;
methods: string[];
metadata: {
name: string;
snap?: {
id: SnapId;
enabled: boolean;
name: string;
};
};
};
//# sourceMappingURL=account.d.mts.map