@trezor/connect
Version:
High-level javascript interface for Trezor hardware wallet.
8 lines • 668 B
TypeScript
import { Transaction as BitcoinJsTransaction } from '@trezor/utxo-lib';
import type { PROTO } from '../../constants';
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