From 44ae9e2201ec7bae42e9d58c60a747c28ba9f90b Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Thu, 21 Mar 2019 00:15:45 -0300 Subject: [PATCH] trezor-connect: Update signTransaction params --- types/trezor-connect/index.d.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/types/trezor-connect/index.d.ts b/types/trezor-connect/index.d.ts index 282117efda..daa19b2a02 100644 --- a/types/trezor-connect/index.d.ts +++ b/types/trezor-connect/index.d.ts @@ -270,10 +270,31 @@ export interface OpReturnOutput { export type Output = RegularOutput | InternalOutput | SendMaxOutput | OpReturnOutput; +export interface BinOutput { + amount: number; + script_pubkey: string; +} + +export interface RefTransaction { + hash: string; + version?: number; + inputs: Input[]; + bin_outputs: BinOutput[]; + lock_time?: number; + extra_data?: string; + timestamp?: number; + version_group_id?: number; +} + export interface SignTransactionParams extends CommonParams { inputs: Input[]; outputs: Output[]; + refTxs: RefTransaction[]; coin: string; + locktime?: number; + version?: number; + expiry?: number; + branchId?: number; push?: boolean; }