@trezor/connect
Version:
High-level javascript interface for Trezor hardware wallet.
20 lines • 785 B
TypeScript
import type { AccountAddresses, AccountInfo as AccountInfoBase, Utxo as AccountUtxo } from '@trezor/blockchain-link';
export type { AccountAddresses, Utxo as AccountUtxo, Address as AccountAddress, Transaction as AccountTransaction, } from '@trezor/blockchain-link';
export type DiscoveryAccountType = 'p2pkh' | 'p2sh' | 'p2tr' | 'p2wpkh';
export interface AccountInfo extends AccountInfoBase {
path?: string;
legacyXpub?: string;
utxo?: AccountUtxo[];
descriptorChecksum?: string;
}
export interface DiscoveryAccount {
type: DiscoveryAccountType;
label: string;
descriptor: string;
address_n: number[];
empty?: boolean;
balance?: string;
addresses?: AccountAddresses;
descriptorChecksum?: string;
}
//# sourceMappingURL=account.d.ts.map