Type alias EIP1193Parameters<TRpcSchema>
EIP1193Parameters<TRpcSchema>: TRpcSchema extends RpcSchema ? { [K in keyof TRpcSchema]: Prettify<{ method: TRpcSchema[K] extends TRpcSchema[number] ? TRpcSchema[K]["Method"] : never; } & (TRpcSchema[K] extends TRpcSchema[number] ? TRpcSchema[K]["Parameters"] extends undefined ? { params?: never; } : { params: TRpcSchema[K]["Parameters"]; } : never)> }[number] : { method: string; params?: unknown; } Type Parameters
TRpcSchema extends RpcSchema | undefined = undefined