@trezor/connect
Version:
High-level javascript interface for Trezor hardware wallet.
16 lines • 824 B
TypeScript
import type { BlockchainLinkParams } from '@trezor/blockchain-link';
import type { PROTO } from '../../constants';
import type { AccountInfo, DiscoveryAccountType } from '../account';
import type { BundledParams, Params, Response } from '../params';
export interface GetAccountInfo extends Omit<BlockchainLinkParams<'getAccountInfo'>, 'descriptor'> {
coin: string;
identity?: string;
path?: string;
descriptor?: string;
defaultAccountType?: DiscoveryAccountType;
derivationType?: PROTO.CardanoDerivationType;
suppressBackupWarning?: boolean;
}
export declare function getAccountInfo(params: Params<GetAccountInfo>): Response<AccountInfo>;
export declare function getAccountInfo(params: BundledParams<GetAccountInfo>): Response<(AccountInfo | null)[]>;
//# sourceMappingURL=getAccountInfo.d.ts.map