UNPKG

@metamask/multichain-account-service

Version:
20 lines 1.17 kB
import type { Bip44Account } from "@metamask/account-api"; import type { TraceCallback } from "@metamask/controller-utils"; import type { InternalAccount } from "@metamask/keyring-internal-api"; import type { SnapId } from "@metamask/snaps-sdk"; import type { CaipChainId } from "@metamask/utils"; import type { MultichainAccountServiceMessenger } from "../types.cjs"; import { SnapAccountProvider } from "./SnapAccountProvider.cjs"; import type { SnapAccountProviderConfig } from "./SnapAccountProvider.cjs"; export type XlmAccountProviderConfig = SnapAccountProviderConfig; export declare const XLM_ACCOUNT_PROVIDER_NAME = "Stellar"; export declare const XLM_ACCOUNT_PROVIDER_DEFAULT_CONFIG: XlmAccountProviderConfig; export declare class XlmAccountProvider extends SnapAccountProvider { static NAME: string; static XLM_SNAP_ID: SnapId; protected readonly v1DiscoveryScopes: CaipChainId[]; constructor(messenger: MultichainAccountServiceMessenger, config?: XlmAccountProviderConfig, trace?: TraceCallback); getName(): string; isAccountCompatible(account: Bip44Account<InternalAccount>): boolean; } //# sourceMappingURL=XlmAccountProvider.d.cts.map