@@ -48,20 +48,22 @@ Result of compiling an application’s TEAL code.
48
48
49
49
Contains the compiled approval and clear state programs along with optional compilation artifacts.
50
50
51
- * ** Variables:**
52
- * ** approval_program** – The compiled approval program bytes
53
- * ** clear_state_program** – The compiled clear state program bytes
54
- * ** compiled_approval** – Optional compilation artifacts for approval program
55
- * ** compiled_clear** – Optional compilation artifacts for clear state program
56
-
57
51
#### approval_program * : bytes*
58
52
53
+ The compiled approval program bytes
54
+
59
55
#### clear_state_program * : bytes*
60
56
57
+ The compiled clear state program bytes
58
+
61
59
#### compiled_approval * : [ algokit_utils.models.application.CompiledTeal] ( ../../models/application/index.md#algokit_utils.models.application.CompiledTeal ) | None* * = None*
62
60
61
+ Optional compilation artifacts for approval program
62
+
63
63
#### compiled_clear * : [ algokit_utils.models.application.CompiledTeal] ( ../../models/application/index.md#algokit_utils.models.application.CompiledTeal ) | None* * = None*
64
64
65
+ Optional compilation artifacts for clear state program
66
+
65
67
### * class* algokit_utils.applications.app_client.AppClientCompilationParams
66
68
67
69
Bases: ` TypedDict `
@@ -83,67 +85,82 @@ Parameters for compiling an application’s TEAL code.
83
85
84
86
Common configuration for app call transaction parameters
85
87
86
- * ** Variables:**
87
- * ** account_references** – List of account addresses to reference
88
- * ** app_references** – List of app IDs to reference
89
- * ** asset_references** – List of asset IDs to reference
90
- * ** box_references** – List of box references to include
91
- * ** extra_fee** – Additional fee to add to transaction
92
- * ** lease** – Transaction lease value
93
- * ** max_fee** – Maximum fee allowed for transaction
94
- * ** note** – Arbitrary note for the transaction
95
- * ** rekey_to** – Address to rekey account to
96
- * ** sender** – Sender address override
97
- * ** signer** – Custom transaction signer
98
- * ** static_fee** – Fixed fee for transaction
99
- * ** validity_window** – Number of rounds valid
100
- * ** first_valid_round** – First valid round number
101
- * ** last_valid_round** – Last valid round number
102
-
103
88
#### account_references * : list[ str] | None* * = None*
104
89
90
+ List of account addresses to reference
91
+
105
92
#### app_references * : list[ int] | None* * = None*
106
93
94
+ List of app IDs to reference
95
+
107
96
#### asset_references * : list[ int] | None* * = None*
108
97
98
+ List of asset IDs to reference
99
+
109
100
#### box_references * : list[[ algokit_utils.models.state.BoxReference] ( ../../models/state/index.md#algokit_utils.models.state.BoxReference ) | algokit_utils.models.state.BoxIdentifier] | None* * = None*
110
101
102
+ List of box references to include
103
+
111
104
#### extra_fee * : [ algokit_utils.models.amount.AlgoAmount] ( ../../models/amount/index.md#algokit_utils.models.amount.AlgoAmount ) | None* * = None*
112
105
106
+ Additional fee to add to transaction
107
+
113
108
#### lease * : bytes | None* * = None*
114
109
110
+ Transaction lease value
111
+
115
112
#### max_fee * : [ algokit_utils.models.amount.AlgoAmount] ( ../../models/amount/index.md#algokit_utils.models.amount.AlgoAmount ) | None* * = None*
116
113
114
+ Maximum fee allowed for transaction
115
+
117
116
#### note * : bytes | None* * = None*
118
117
118
+ Custom note for the transaction
119
+
119
120
#### rekey_to * : str | None* * = None*
120
121
122
+ Address to rekey account to
123
+
121
124
#### sender * : str | None* * = None*
122
125
126
+ Sender address override
127
+
123
128
#### signer * : algosdk.atomic_transaction_composer.TransactionSigner | None* * = None*
124
129
130
+ Custom transaction signer
131
+
125
132
#### static_fee * : [ algokit_utils.models.amount.AlgoAmount] ( ../../models/amount/index.md#algokit_utils.models.amount.AlgoAmount ) | None* * = None*
126
133
134
+ Fixed fee for transaction
135
+
127
136
#### validity_window * : int | None* * = None*
128
137
138
+ Number of rounds valid
139
+
129
140
#### first_valid_round * : int | None* * = None*
130
141
142
+ First valid round number
143
+
131
144
#### last_valid_round * : int | None* * = None*
132
145
146
+ Last valid round number
147
+
133
148
#### on_complete * : algosdk.transaction.OnComplete | None* * = None*
134
149
150
+ Optional on complete action
151
+
135
152
### * class* algokit_utils.applications.app_client.AppClientCreateSchema
136
153
137
154
Schema for application creation.
138
155
139
- * ** Variables:**
140
- * ** extra_program_pages** – Optional number of extra program pages
141
- * ** schema** – Optional application creation schema
142
-
143
156
#### extra_program_pages * : int | None* * = None*
144
157
158
+ Optional number of extra program pages
159
+
145
160
#### schema * : [ algokit_utils.transactions.transaction_composer.AppCreateSchema] ( ../../transactions/transaction_composer/index.md#algokit_utils.transactions.transaction_composer.AppCreateSchema ) | None* * = None*
146
161
162
+ Optional application creation schema
163
+
147
164
### * class* algokit_utils.applications.app_client.CommonAppCallCreateParams
148
165
149
166
Bases: [ ` AppClientCreateSchema ` ] ( #algokit_utils.applications.app_client.AppClientCreateSchema ) , [ ` CommonAppCallParams ` ] ( #algokit_utils.applications.app_client.CommonAppCallParams )
@@ -152,31 +169,32 @@ Common configuration for app create call transaction parameters.
152
169
153
170
#### on_complete * : CreateOnComplete | None* * = None*
154
171
172
+ Optional on complete action
173
+
155
174
### * class* algokit_utils.applications.app_client.FundAppAccountParams
156
175
157
176
Bases: [ ` CommonAppCallParams ` ] ( #algokit_utils.applications.app_client.CommonAppCallParams )
158
177
159
178
Parameters for funding an application’s account.
160
179
161
- * ** Variables:**
162
- * ** amount** – Amount to fund
163
- * ** close_remainder_to** – Optional address to close remainder to
164
-
165
180
#### amount * : [ algokit_utils.models.amount.AlgoAmount] ( ../../models/amount/index.md#algokit_utils.models.amount.AlgoAmount ) *
166
181
182
+ Amount to fund
183
+
167
184
#### close_remainder_to * : str | None* * = None*
168
185
186
+ Optional address to close remainder to
187
+
169
188
### * class* algokit_utils.applications.app_client.AppClientBareCallParams
170
189
171
190
Bases: [ ` CommonAppCallParams ` ] ( #algokit_utils.applications.app_client.CommonAppCallParams )
172
191
173
192
Parameters for bare application calls.
174
193
175
- * ** Variables:**
176
- ** args** – Optional arguments
177
-
178
194
#### args * : list[ bytes] | None* * = None*
179
195
196
+ Optional arguments
197
+
180
198
### * class* algokit_utils.applications.app_client.AppClientBareCallCreateParams
181
199
182
200
Bases: [ ` CommonAppCallCreateParams ` ] ( #algokit_utils.applications.app_client.CommonAppCallCreateParams )
@@ -185,21 +203,22 @@ Parameters for creating application with bare call.
185
203
186
204
#### on_complete * : CreateOnComplete | None* * = None*
187
205
206
+ Optional on complete action
207
+
188
208
### * class* algokit_utils.applications.app_client.BaseAppClientMethodCallParams
189
209
190
210
Bases: ` Generic ` [ ` ArgsT ` , ` MethodT ` ] , [ ` CommonAppCallParams ` ] ( #algokit_utils.applications.app_client.CommonAppCallParams )
191
211
192
212
Base parameters for application method calls.
193
213
194
- * ** Variables:**
195
- * ** method** – Method to call
196
- * ** args** – Optional arguments to pass to method
197
- * ** on_complete** – Optional on complete action
198
-
199
214
#### method * : MethodT*
200
215
216
+ Method to call
217
+
201
218
#### args * : ArgsT | None* * = None*
202
219
220
+ Arguments to pass to the application method call
221
+
203
222
### * class* algokit_utils.applications.app_client.AppClientMethodCallParams
204
223
205
224
Bases: [ ` BaseAppClientMethodCallParams ` ] ( #algokit_utils.applications.app_client.BaseAppClientMethodCallParams ) [ ` collections.abc.Sequence ` [ ` algokit_utils.applications.abi.ABIValue | algokit_utils.applications.abi.ABIStruct | algokit_utils.transactions.transaction_composer.AppMethodCallTransactionArgument | None ` ] , ` str ` ]
@@ -214,26 +233,44 @@ Parameters for creating application with method call
214
233
215
234
#### on_complete * : CreateOnComplete | None* * = None*
216
235
236
+ Optional on complete action
237
+
217
238
### * class* algokit_utils.applications.app_client.AppClientParams
218
239
219
240
Full parameters for creating an app client
220
241
221
242
#### app_spec * : [ algokit_utils.applications.app_spec.arc56.Arc56Contract] ( ../app_spec/arc56/index.md#algokit_utils.applications.app_spec.arc56.Arc56Contract ) | [ algokit_utils.applications.app_spec.arc32.Arc32Contract] ( ../app_spec/arc32/index.md#algokit_utils.applications.app_spec.arc32.Arc32Contract ) | str*
222
243
244
+ The application specification
245
+
223
246
#### algorand * : [ algokit_utils.algorand.AlgorandClient] ( ../../algorand/index.md#algokit_utils.algorand.AlgorandClient ) *
224
247
248
+ The Algorand client
249
+
225
250
#### app_id * : int*
226
251
252
+ The application ID
253
+
227
254
#### app_name * : str | None* * = None*
228
255
256
+ The application name
257
+
229
258
#### default_sender * : str | None* * = None*
230
259
260
+ The default sender address
261
+
231
262
#### default_signer * : algosdk.atomic_transaction_composer.TransactionSigner | None* * = None*
232
263
264
+ The default transaction signer
265
+
233
266
#### approval_source_map * : algosdk.source_map.SourceMap | None* * = None*
234
267
268
+ The approval source map
269
+
235
270
#### clear_source_map * : algosdk.source_map.SourceMap | None* * = None*
236
271
272
+ The clear source map
273
+
237
274
### * class* algokit_utils.applications.app_client.AppClient(params: [ AppClientParams] ( #algokit_utils.applications.app_client.AppClientParams ) )
238
275
239
276
A client for interacting with an Algorand smart contract application.
0 commit comments