Variable JSONRPCResponseSchemaConst
JSONRPCResponseSchema: ZodObject<
{
id: ZodUnion<[ZodString, ZodNumber]>;
jsonrpc: ZodLiteral<"2.0">;
result: ZodObject<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
ZodTypeAny,
"passthrough",
>,
>;
},
"strict",
ZodTypeAny,
{
id: string
| number;
jsonrpc: "2.0";
result: { _meta?: Record<string, unknown> } & { [k: string]: unknown };
},
{
id: string
| number;
jsonrpc: "2.0";
result: { _meta?: Record<string, unknown> } & { [k: string]: unknown };
},
> = ...
A successful (non-error) response to a request.