@trezor/connect
Version:
High-level javascript interface for Trezor hardware wallet.
8 lines • 682 B
TypeScript
import { MessagesSchema as PROTO } from '@trezor/protobuf';
import { Transaction as BitcoinJsTransaction } from '@trezor/utxo-lib';
import type { BitcoinNetworkInfo, ProtoWithDerivationPath } from '../../types';
import type { ComposeUtxo } from '../../types/api/composeTransaction';
export declare const validateTrezorInputs: (inputs: ProtoWithDerivationPath<PROTO.TxInputType>[], coinInfo: BitcoinNetworkInfo) => PROTO.TxInputType[];
export declare const enhanceTrezorInputs: (inputs: PROTO.TxInputType[], rawTxs: BitcoinJsTransaction[]) => void;
export declare const inputToTrezor: (input: ComposeUtxo, sequence?: number) => PROTO.TxInputType;
//# sourceMappingURL=inputs.d.ts.map