@metamask/account-api
Version:
MetaMask Account API
14 lines • 530 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.toMultichainAccountWalletId = toMultichainAccountWalletId;
const wallet_1 = require("../wallet.cjs");
/**
* Gets the multichain account wallet ID from its entropy source.
*
* @param entropySource - Entropy source ID of that wallet.
* @returns The multichain account wallet ID.
*/
function toMultichainAccountWalletId(entropySource) {
return `${wallet_1.AccountWalletType.Entropy}:${entropySource}`;
}
//# sourceMappingURL=wallet.cjs.map