@metamask/multichain-account-service
Version:
Service to manage multichain accounts
20 lines • 984 B
text/typescript
import { type Bip44Account } from "@metamask/account-api";
import type { EntropySourceId, KeyringAccount } from "@metamask/keyring-api";
import type { InternalAccount } from "@metamask/keyring-internal-api";
import type { SnapId } from "@metamask/snaps-sdk";
import type { MultichainAccountServiceMessenger } from "src/types";
import { SnapAccountProvider } from "./SnapAccountProvider.cjs";
export declare class SolAccountProvider extends SnapAccountProvider {
static SOLANA_SNAP_ID: SnapId;
constructor(messenger: MultichainAccountServiceMessenger);
isAccountCompatible(account: Bip44Account<InternalAccount>): boolean;
createAccounts({ entropySource, groupIndex, }: {
entropySource: EntropySourceId;
groupIndex: number;
}): Promise<Bip44Account<KeyringAccount>[]>;
discoverAndCreateAccounts(_: {
entropySource: EntropySourceId;
groupIndex: number;
}): Promise<never[]>;
}
//# sourceMappingURL=SolAccountProvider.d.cts.map