Skip to content

types/app-client

@algorandfoundation/algokit-utils / types/app-client

Ƭ AppClientBareCallParams: Expand<Omit<CommonAppCallParams, "appId" | "sender" | "onComplete"> & { sender?: Address | string }>

AppClient common parameters for a bare app call

src/types/app-client.ts:358


Ƭ AppClientCallArgs: AppClientCallRawArgs | AppClientCallABIArgs

The arguments to pass to an Application Client smart contract call

src/types/app-client.ts:208


Ƭ AppClientCallParams: AppClientCallArgs & AppClientCallCoreParams

Parameters to construct a ApplicationClient contract call

src/types/app-client.ts:221


Ƭ AppClientCallRawArgs: RawAppCallArgs

src/types/app-client.ts:200


Ƭ AppClientClearStateParams: AppClientCallRawArgs & AppClientCallCoreParams

Parameters to construct a ApplicationClient clear state contract call

src/types/app-client.ts:224


Ƭ AppClientCreateOnComplete: Object

On-complete action parameter for creating a contract using ApplicationClient

NameTypeDescription
onCompleteAction?Exclude<AppCallType, "clear_state"> | Exclude<OnApplicationComplete, OnApplicationComplete.ClearStateOC>Override the on-completion action for the create call; defaults to NoOp

src/types/app-client.ts:236


Ƭ AppClientCreateParams: AppClientCallParams & AppClientCompilationParams & AppClientCreateOnComplete & { schema?: Partial<AppStorageSchema> }

Parameters for creating a contract using ApplicationClient

src/types/app-client.ts:242


Ƭ AppClientMethodCallParams: Expand<Omit<CommonAppCallParams, "appId" | "sender" | "method" | "args"> & { args?: (ABIValue | ABIStruct | AppMethodCallTransactionArgument | undefined)[] ; method: string ; sender?: Address | string }>

AppClient common parameters for an ABI method call

src/types/app-client.ts:366


Ƭ AppClientUpdateParams: AppClientCallParams & AppClientCompilationParams

Parameters for updating a contract using ApplicationClient

src/types/app-client.ts:250


Ƭ AppDetails: AppDetailsBase & ResolveAppById | ResolveAppByCreatorAndName

The details of an AlgoKit Utils deployed app

src/types/app-client.ts:138


Ƭ AppDetailsBase: Object

The details of an AlgoKit Utils deployed app

NameTypeDescription
deployTimeParams?TealTemplateParamsOptionally provide any deploy-time parameters to replace in the TEAL code; if specified here will get used in calls to deploy, create and update unless overridden in those calls
params?SuggestedParamsDefault suggested params object to use
sender?SendTransactionFromDefault sender to use for transactions issued by this application client

src/types/app-client.ts:126


Ƭ AppSpecAppDetails: AppSpecAppDetailsBase & AppDetails

The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app

src/types/app-client.ts:156


Ƭ AppSpecAppDetailsBase: Object

The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app

NameTypeDescription
appAppSpec | stringThe ARC-0032 application spec as either: _ Parsed JSON AppSpec _ Raw JSON string

src/types/app-client.ts:141


Ƭ AppSpecAppDetailsByCreatorAndName: AppSpecAppDetailsBase & AppDetailsBase & ResolveAppByCreatorAndNameBase

The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app by creator and name

src/types/app-client.ts:153


Ƭ AppSpecAppDetailsById: AppSpecAppDetailsBase & AppDetailsBase & ResolveAppByIdBase

The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app by id

src/types/app-client.ts:150


Ƭ CallOnComplete: Object

onComplete parameter for a non-update app call

NameTypeDescription
onComplete?Exclude<OnApplicationComplete, OnApplicationComplete.UpdateApplicationOC>On-complete of the call; defaults to no-op

src/types/app-client.ts:352


Ƭ CloneAppClientParams: Expand<Partial<Omit<AppClientParams, "algorand" | "appSpec">>>

Parameters to clone an app client

src/types/app-client.ts:349


Ƭ FundAppParams: Expand<Omit<PaymentParams, "receiver" | "sender"> & SendParams & { sender?: Address | string }>

Parameters for funding an app account

src/types/app-client.ts:391


Ƭ ResolveAppByCreatorAndName: ResolveAppByCreatorAndNameBase & { resolveBy: "creatorAndName" }

Configuration to resolve app by creator and name getCreatorAppsByName

src/types/app-client.ts:107


Ƭ ResolveAppByCreatorAndNameBase: Object

Configuration to resolve app by creator and name getCreatorAppsByName

NameTypeDescription
creatorAddressAddress | stringThe address of the app creator account to resolve the app by
findExistingUsingIndexer | AppLookupThe mechanism to find an existing app instance metadata for the given creator and name; either: _ An indexer instance to search the creator account apps; or _ The cached value of the existing apps for the given creator from getCreatorAppsByName
name?stringThe optional name override to resolve the app by within the creator account (default: uses the name in the ABI contract)

src/types/app-client.ts:94


Ƭ ResolveAppClientByCreatorAndName: Expand<Omit<AppClientParams, "appId"> & { appLookupCache?: AppLookup ; creatorAddress: Address | string ; ignoreCache?: boolean }>

Resolve an app client instance by looking up an app created by the given creator with the given name

src/types/app-client.ts:400


Ƭ ResolveAppClientByNetwork: Expand<Omit<AppClientParams, "appId">>

Resolve an app client instance by looking up the current network.

src/types/app-client.ts:414