Skip to content

Commit

Permalink
suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Jul 29, 2024
1 parent 543b43d commit 6f43f51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/request/types/runesMethods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,18 @@ export const transferRunesParamsSchema = v.object({
})
),
});
export type TransferRunesParams = v.InferOutput<typeof transferRunesParamsSchema>;

export const transferRunesSchema = v.object({
export const transferRunesRequestSchema = v.object({
...rpcRequestMessageSchema.entries,
...v.object({
method: v.literal(transferRunesMethodName),
params: transferRunesParamsSchema,
id: v.string(),
}).entries,
});
export type TransferRunesRequest = v.InferOutput<typeof transferRunesRequestSchema>;

export type TransferRunesParams = v.InferOutput<typeof transferRunesParamsSchema>;
export const TransferRunesResultSchema = v.object({
txid: v.string(),
});
Expand Down

0 comments on commit 6f43f51

Please sign in to comment.