UNPKG

ox

Version:

Ethereum Standard Library

16 lines (12 loc) 370 B
import type * as RpcSchema from '../RpcSchema.js' // biome-ignore lint/suspicious/noEmptyInterface: export interface Register {} export type ResolvedRegister = { RpcSchema: Register extends { RpcSchema: infer schema } ? schema : DefaultRegister['RpcSchema'] } /** @internal */ export type DefaultRegister = { RpcSchema: RpcSchema.Eth | RpcSchema.Wallet }