Skip to content

Commit

Permalink
Merge pull request #34 from secretkeylabs/edu-pr13-suggestions
Browse files Browse the repository at this point in the history
PR13 suggestions
  • Loading branch information
m-aboelenein authored Jul 29, 2024
2 parents 543b43d + 6f43f51 commit 98d0a75
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 98d0a75

Please sign in to comment.