mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Merge pull request #32604 from federicobond/trezor-connect
[trezor-connect] Fix Output types
This commit is contained in:
10
types/trezor-connect/index.d.ts
vendored
10
types/trezor-connect/index.d.ts
vendored
@@ -249,7 +249,13 @@ export interface Input {
|
||||
export interface RegularOutput {
|
||||
address: string;
|
||||
amount: string;
|
||||
script_type: string;
|
||||
script_type?: string;
|
||||
}
|
||||
|
||||
export interface InternalOutput {
|
||||
address_n: number[];
|
||||
amount: string;
|
||||
script_type?: string;
|
||||
}
|
||||
|
||||
export interface SendMaxOutput {
|
||||
@@ -262,7 +268,7 @@ export interface OpReturnOutput {
|
||||
dataHex: string;
|
||||
}
|
||||
|
||||
export type Output = RegularOutput | SendMaxOutput | OpReturnOutput;
|
||||
export type Output = RegularOutput | InternalOutput | SendMaxOutput | OpReturnOutput;
|
||||
|
||||
export interface SignTransactionParams extends CommonParams {
|
||||
inputs: Input[];
|
||||
|
||||
Reference in New Issue
Block a user