@metamask/account-api
Version:
MetaMask Account API
11 lines • 392 B
JavaScript
import { AccountWalletType } from "../wallet.mjs";
/**
* Gets the multichain account wallet ID from its entropy source.
*
* @param entropySource - Entropy source ID of that wallet.
* @returns The multichain account wallet ID.
*/
export function toMultichainAccountWalletId(entropySource) {
return `${AccountWalletType.Entropy}:${entropySource}`;
}
//# sourceMappingURL=wallet.mjs.map