/** * JSON-RPC Schema. * * @see https://github.com/ithacaxyz/relay/blob/77d1e54e3c7b7268d4e9e9bd89a42637125d9b89/src/rpc.rs#L59-L142 */ import type * as RpcSchema_ox from 'ox/RpcSchema' import type * as z from 'zod/mini' import type * as RpcSchema_viem from '../../../viem/RpcSchema.js' import type * as Rpc from './schema/rpc.js' export * from './schema/rpc.js' export type Schema = RpcSchema_ox.From< | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: z.input } | { Request: z.input ReturnType: undefined } | { Request: z.input ReturnType: z.input } > export type Viem = RpcSchema_viem.Relay