TypedAppClient\<TClient\>
@algorandfoundation/algokit-utils / types/client-manager / TypedAppClient
types/client-manager.TypedAppClient
Interface to identify a typed client that can be used to interact with an application.
Type parameters
Section titled “Type parameters”| Name |
|---|
TClient |
Table of contents
Section titled “Table of contents”Constructors
Section titled “Constructors”Methods
Section titled “Methods”Constructors
Section titled “Constructors”constructor
Section titled “constructor”• new TypedAppClient(params): TClient
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
params | Omit<AppClientParams, "appSpec"> |
Returns
Section titled “Returns”TClient
Defined in
Section titled “Defined in”src/types/client-manager.ts:694
Methods
Section titled “Methods”fromCreatorAndName
Section titled “fromCreatorAndName”▸ fromCreatorAndName(params): Promise<TClient>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
params | Omit<{ algorand: AlgorandClient ; appLookupCache?: AppLookup ; appName?: string ; appSpec: string | Arc56Contract | AppSpec ; approvalSourceMap?: ProgramSourceMap ; clearSourceMap?: ProgramSourceMap ; creatorAddress: string | Address ; defaultSender?: string | Address ; defaultSigner?: TransactionSigner ; ignoreCache?: boolean }, "appSpec"> |
Returns
Section titled “Returns”Promise<TClient>
Defined in
Section titled “Defined in”src/types/client-manager.ts:696
fromNetwork
Section titled “fromNetwork”▸ fromNetwork(params): Promise<TClient>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
params | Omit<AppClientParams, "appId" | "appSpec"> |
Returns
Section titled “Returns”Promise<TClient>