Skip to content

Commit

Permalink
Update method
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Oct 7, 2024
1 parent cdad770 commit 6fd4d2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/request/types/ordinalsMethods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,17 @@ export const sendInscriptionsResultSchema = v.object({
});
export type SendInscriptionsResult = v.InferOutput<typeof sendInscriptionsResultSchema>;

export const sendInscriptionsSchema = v.object({
export const sendInscriptionsRequestMessageSchema = v.object({
...rpcRequestMessageSchema.entries,
...v.object({
method: v.literal(sendInscriptionsMethodName),
params: sendInscriptionsParamsSchema,
id: v.string(),
}).entries,
});
export type SendInscriptionsRequestMessage = v.InferOutput<typeof sendInscriptionsSchema>;
export type SendInscriptionsRequestMessage = v.InferOutput<
typeof sendInscriptionsRequestMessageSchema
>;

export type SendInscriptions = MethodParamsAndResult<
SendInscriptionsParams,
Expand Down

0 comments on commit 6fd4d2d

Please sign in to comment.