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.mjs"; import { SnapAccountProvider } from "./SnapAccountProvider.mjs"; import type { SnapAccountProviderConfig } from "./SnapAccountProvider.mjs"; export type TrxAccountProviderConfig = SnapAccountProviderConfig; export declare const TRX_ACCOUNT_PROVIDER_NAME = "Tron"; export declare const TRX_ACCOUNT_PROVIDER_DEFAULT_CONFIG: TrxAccountProviderConfig; export declare class TrxAccountProvider extends SnapAccountProvider { static NAME: string; static TRX_SNAP_ID: SnapId; protected readonly v1DiscoveryScopes: CaipChainId[]; constructor(messenger: MultichainAccountServiceMessenger, config?: TrxAccountProviderConfig, trace?: TraceCallback); getName(): string; isAccountCompatible(account: Bip44Account<InternalAccount>): boolean; } //# sourceMappingURL=TrxAccountProvider.d.mts.map