getAppClient
getAppClient(
appDetails,algod):ApplicationClient
Defined in: algokit-utils-ts/src/app-client.ts:40
Parameters
Section titled “Parameters”appDetails
Section titled “appDetails”The details of the app
AlgodClient
An algod instance
Returns
Section titled “Returns”The application client
Examples
Section titled “Examples”Resolve by creator and nameconst client = algokit.getAppClient( { resolveBy: 'creatorAndName', app: {appSpec}, sender: {account}, creatorAddress: {creator}, findExistingUsing: indexerClient, }, algodClient, )Resolve by id:const client = algokit.getAppClient( { resolveBy: 'id', app: {appSpec}, sender: {account}, id: {id}, }, algodClient,)