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
Name |
---|
TClient |
Table of contents
Constructors
Methods
Constructors
constructor
• new TypedAppClient(params
): TClient
Parameters
Name | Type |
---|---|
params | Omit <AppClientParams , "appSpec" > |
Returns
TClient
Defined in
src/types/client-manager.ts:694
Methods
fromCreatorAndName
▸ fromCreatorAndName(params
): Promise
<TClient
>
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
Promise
<TClient
>
Defined in
src/types/client-manager.ts:696
fromNetwork
▸ fromNetwork(params
): Promise
<TClient
>
Parameters
Name | Type |
---|---|
params | Omit <AppClientParams , "appId" | "appSpec" > |
Returns
Promise
<TClient
>