Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Nov 20, 2024
1 parent 2da5e2d commit fdecf50
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/request/types/stxMethods/signTransactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,19 @@ export const stxSignTransactionsParamsSchema = v.object({
/**
* The transactions to sign as hex-encoded strings.
*/
transactions: v.array(
v.object({
transactionHex: v.string(),
transactions: v.array(v.string()),

/**
* Whether the transaction should be broadcast after signing. Defaults to `false`.
*/
broadcast: v.optional(v.boolean()),
})
),
/**
* Whether the signed transactions should be broadcast after signing. Defaults
* to `true`.
*/
broadcast: v.optional(v.boolean()),
});
export type StxSignTransactionsParams = v.InferOutput<typeof stxSignTransactionsParamsSchema>;
export const stxSignTransactionsResultSchema = v.object({
/**
* The signed transactions as hex-encoded strings. In the same order as the sign request.
* The signed transactions as hex-encoded strings, in the same order as in the
* sign request.
*/
transactions: v.array(v.string()),
});
Expand Down

0 comments on commit fdecf50

Please sign in to comment.