Skip to content

Commit

Permalink
broadcast for all psbts instead of individual ones
Browse files Browse the repository at this point in the history
  • Loading branch information
m-aboelenein committed Nov 6, 2023
1 parent 4efc968 commit 89fe39b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/transactions/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ export type PsbtPayload = {
broadcast?: boolean;
};

export type SignMultiplePsbtPayload = {
psbtBase64: string;
inputsToSign: InputToSign[];
};

export interface SignTransactionPayload extends RequestPayload, PsbtPayload {
message: string;
}
Expand All @@ -54,7 +59,8 @@ export type SignTransactionOptions = RequestOptions<

export interface SignMultipleTransactionsPayload extends RequestPayload {
message: string;
psbts: PsbtPayload[];
psbts: SignMultiplePsbtPayload[];
broadcast?: boolean;
}

export type SignMultipleTransactionsResponse = SignTransactionResponse[];
Expand Down

0 comments on commit 89fe39b

Please sign in to comment.