Documentation
    Preparing search index...

    Type Alias Method<MethodName, Params>

    Method: (Partial<JsonRpcRequest> & Params) extends never
        ? { method: MethodName }
        : { method: MethodName; params: Params }

    Snaps Provider request types

    Type Parameters

    • MethodName extends string
    • Params