AppClientParams
Defined in: src/app-client.ts:272
Parameters to create an app client
Properties
Section titled “Properties”algorand
Section titled “algorand”algorand:
AlgorandClient
Defined in: src/app-client.ts:284
An AlgorandClient instance
appId:
bigint
Defined in: src/app-client.ts:274
The ID of the app instance this client should make calls against.
appName?
Section titled “appName?”
optionalappName:string
Defined in: src/app-client.ts:290
Optional override for the app name; used for on-chain metadata and lookups. Defaults to the ARC-32/ARC-56 app spec name
approvalSourceMap?
Section titled “approvalSourceMap?”
optionalapprovalSourceMap:ProgramSourceMap
Defined in: src/app-client.ts:296
Optional source map for the approval program
appSpec
Section titled “appSpec”appSpec:
string|Arc56Contract|AppSpec
Defined in: src/app-client.ts:281
The ARC-56 or ARC-32 application spec as either:
- Parsed JSON ARC-56
Contract - Parsed JSON ARC-32
AppSpec - Raw JSON string (in either ARC-56 or ARC-32 format)
clearSourceMap?
Section titled “clearSourceMap?”
optionalclearSourceMap:ProgramSourceMap
Defined in: src/app-client.ts:298
Optional source map for the clear state program
defaultSender?
Section titled “defaultSender?”
optionaldefaultSender:ReadableAddress
Defined in: src/app-client.ts:292
Optional address to use for the account to use as the default sender for calls.
defaultSigner?
Section titled “defaultSigner?”
optionaldefaultSigner:TransactionSigner
Defined in: src/app-client.ts:294
Optional signer to use as the default signer for default sender calls (if not specified then the signer will be resolved from AlgorandClient).