Skip to content
Alchemy Logo

ExtractRpcMethod

type ExtractRpcMethod<T, M> = Extract<
  T[number],
  {
    Method: M;
  }
>;

Defined in: packages/common/src/utils/types.ts:7

Type Parameter

T extends readonly object[]

M extends T[number]["Method"]

Was this page helpful?