Skip to content

Documentation / @super-line/client / ClientMethods

Type Alias: ClientMethods<C, R>

ClientMethods<C, R> = { [K in keyof Requests<C, R>]: (input: ClientInput<Requests<C, R>[K]>, opts?: CallOptions) => Promise<Output<Requests<C, R>[K]>> }

Defined in: index.ts:58

The request-calling half of SuperLineClient (one method per request in the role's surface).

Type Parameters

C

C extends Contract

R

R extends RoleOf<C>

Released under the MIT License.