circle-developer-controlled-wallets 6.1.0__py3-none-any.whl → 6.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of circle-developer-controlled-wallets might be problematic. Click here for more details.
- circle/web3/developer_controlled_wallets/__init__.py +1 -1
- circle/web3/developer_controlled_wallets/api/signing_api.py +59 -25
- circle/web3/developer_controlled_wallets/api/transactions_api.py +134 -54
- circle/web3/developer_controlled_wallets/api/wallet_sets_api.py +14 -6
- circle/web3/developer_controlled_wallets/api/wallets_api.py +50 -18
- circle/web3/developer_controlled_wallets/api_client.py +1 -1
- circle/web3/developer_controlled_wallets/configuration.py +1 -1
- {circle_developer_controlled_wallets-6.1.0.dist-info → circle_developer_controlled_wallets-6.2.0.dist-info}/METADATA +4 -4
- {circle_developer_controlled_wallets-6.1.0.dist-info → circle_developer_controlled_wallets-6.2.0.dist-info}/RECORD +11 -11
- {circle_developer_controlled_wallets-6.1.0.dist-info → circle_developer_controlled_wallets-6.2.0.dist-info}/WHEEL +0 -0
- {circle_developer_controlled_wallets-6.1.0.dist-info → circle_developer_controlled_wallets-6.2.0.dist-info}/top_level.txt +0 -0
|
@@ -82,20 +82,22 @@ class TransactionsApi(object):
|
|
|
82
82
|
|
|
83
83
|
@auto_fill
|
|
84
84
|
@validate_arguments
|
|
85
|
-
def create_developer_transaction_accelerate(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], accelerate_transaction_for_developer_request : Annotated[AccelerateTransactionForDeveloperRequest, Field(..., description="Accelerate transaction for developer request")], **kwargs) -> AccelerateTransactionForDeveloper: # noqa: E501
|
|
85
|
+
def create_developer_transaction_accelerate(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], accelerate_transaction_for_developer_request : Annotated[AccelerateTransactionForDeveloperRequest, Field(..., description="Accelerate transaction for developer request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> AccelerateTransactionForDeveloper: # noqa: E501
|
|
86
86
|
"""Accelerate a transaction # noqa: E501
|
|
87
87
|
|
|
88
88
|
Accelerates a specified transaction from a developer-controlled wallet. Additional gas fees may be incurred. # noqa: E501
|
|
89
89
|
This method makes a synchronous HTTP request by default. To make an
|
|
90
90
|
asynchronous HTTP request, please pass async_req=True
|
|
91
91
|
|
|
92
|
-
>>> thread = api.create_developer_transaction_accelerate(id, accelerate_transaction_for_developer_request, async_req=True)
|
|
92
|
+
>>> thread = api.create_developer_transaction_accelerate(id, accelerate_transaction_for_developer_request, x_request_id, async_req=True)
|
|
93
93
|
>>> result = thread.get()
|
|
94
94
|
|
|
95
95
|
:param id: The universally unique identifier of the resource. (required)
|
|
96
96
|
:type id: str
|
|
97
97
|
:param accelerate_transaction_for_developer_request: Accelerate transaction for developer request (required)
|
|
98
98
|
:type accelerate_transaction_for_developer_request: AccelerateTransactionForDeveloperRequest
|
|
99
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
100
|
+
:type x_request_id: str
|
|
99
101
|
:param async_req: Whether to execute the request asynchronously.
|
|
100
102
|
:type async_req: bool, optional
|
|
101
103
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -110,24 +112,26 @@ class TransactionsApi(object):
|
|
|
110
112
|
kwargs['_return_http_data_only'] = True
|
|
111
113
|
if '_preload_content' in kwargs:
|
|
112
114
|
raise ValueError("Error! Please call the create_developer_transaction_accelerate_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
113
|
-
return self.create_developer_transaction_accelerate_with_http_info(id, accelerate_transaction_for_developer_request, **kwargs) # noqa: E501
|
|
115
|
+
return self.create_developer_transaction_accelerate_with_http_info(id, accelerate_transaction_for_developer_request, x_request_id, **kwargs) # noqa: E501
|
|
114
116
|
|
|
115
117
|
@auto_fill
|
|
116
118
|
@validate_arguments
|
|
117
|
-
def create_developer_transaction_accelerate_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], accelerate_transaction_for_developer_request : Annotated[AccelerateTransactionForDeveloperRequest, Field(..., description="Accelerate transaction for developer request")], **kwargs) -> ApiResponse: # noqa: E501
|
|
119
|
+
def create_developer_transaction_accelerate_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], accelerate_transaction_for_developer_request : Annotated[AccelerateTransactionForDeveloperRequest, Field(..., description="Accelerate transaction for developer request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
118
120
|
"""Accelerate a transaction # noqa: E501
|
|
119
121
|
|
|
120
122
|
Accelerates a specified transaction from a developer-controlled wallet. Additional gas fees may be incurred. # noqa: E501
|
|
121
123
|
This method makes a synchronous HTTP request by default. To make an
|
|
122
124
|
asynchronous HTTP request, please pass async_req=True
|
|
123
125
|
|
|
124
|
-
>>> thread = api.create_developer_transaction_accelerate_with_http_info(id, accelerate_transaction_for_developer_request, async_req=True)
|
|
126
|
+
>>> thread = api.create_developer_transaction_accelerate_with_http_info(id, accelerate_transaction_for_developer_request, x_request_id, async_req=True)
|
|
125
127
|
>>> result = thread.get()
|
|
126
128
|
|
|
127
129
|
:param id: The universally unique identifier of the resource. (required)
|
|
128
130
|
:type id: str
|
|
129
131
|
:param accelerate_transaction_for_developer_request: Accelerate transaction for developer request (required)
|
|
130
132
|
:type accelerate_transaction_for_developer_request: AccelerateTransactionForDeveloperRequest
|
|
133
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
134
|
+
:type x_request_id: str
|
|
131
135
|
:param async_req: Whether to execute the request asynchronously.
|
|
132
136
|
:type async_req: bool, optional
|
|
133
137
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -157,7 +161,8 @@ class TransactionsApi(object):
|
|
|
157
161
|
|
|
158
162
|
_all_params = [
|
|
159
163
|
'id',
|
|
160
|
-
'accelerate_transaction_for_developer_request'
|
|
164
|
+
'accelerate_transaction_for_developer_request',
|
|
165
|
+
'x_request_id'
|
|
161
166
|
]
|
|
162
167
|
_all_params.extend(
|
|
163
168
|
[
|
|
@@ -193,6 +198,9 @@ class TransactionsApi(object):
|
|
|
193
198
|
_query_params = []
|
|
194
199
|
# process the header parameters
|
|
195
200
|
_header_params = dict(_params.get('_headers', {}))
|
|
201
|
+
if _params['x_request_id']:
|
|
202
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
203
|
+
|
|
196
204
|
# process the form parameters
|
|
197
205
|
_form_params = []
|
|
198
206
|
_files = {}
|
|
@@ -241,20 +249,22 @@ class TransactionsApi(object):
|
|
|
241
249
|
|
|
242
250
|
@auto_fill
|
|
243
251
|
@validate_arguments
|
|
244
|
-
def create_developer_transaction_cancel(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], cancel_transaction_for_developer_request : Annotated[CancelTransactionForDeveloperRequest, Field(..., description="Cancel transaction for developer request")], **kwargs) -> CancelTransactionForDeveloper: # noqa: E501
|
|
252
|
+
def create_developer_transaction_cancel(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], cancel_transaction_for_developer_request : Annotated[CancelTransactionForDeveloperRequest, Field(..., description="Cancel transaction for developer request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> CancelTransactionForDeveloper: # noqa: E501
|
|
245
253
|
"""Cancel a transaction # noqa: E501
|
|
246
254
|
|
|
247
255
|
Cancels a specified transaction from a developer-controlled wallet. Gas fees may still be incurred. This is a best-effort operation, it won't be effective if the original transaction has already been processed by the blockchain. # noqa: E501
|
|
248
256
|
This method makes a synchronous HTTP request by default. To make an
|
|
249
257
|
asynchronous HTTP request, please pass async_req=True
|
|
250
258
|
|
|
251
|
-
>>> thread = api.create_developer_transaction_cancel(id, cancel_transaction_for_developer_request, async_req=True)
|
|
259
|
+
>>> thread = api.create_developer_transaction_cancel(id, cancel_transaction_for_developer_request, x_request_id, async_req=True)
|
|
252
260
|
>>> result = thread.get()
|
|
253
261
|
|
|
254
262
|
:param id: The universally unique identifier of the resource. (required)
|
|
255
263
|
:type id: str
|
|
256
264
|
:param cancel_transaction_for_developer_request: Cancel transaction for developer request (required)
|
|
257
265
|
:type cancel_transaction_for_developer_request: CancelTransactionForDeveloperRequest
|
|
266
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
267
|
+
:type x_request_id: str
|
|
258
268
|
:param async_req: Whether to execute the request asynchronously.
|
|
259
269
|
:type async_req: bool, optional
|
|
260
270
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -269,24 +279,26 @@ class TransactionsApi(object):
|
|
|
269
279
|
kwargs['_return_http_data_only'] = True
|
|
270
280
|
if '_preload_content' in kwargs:
|
|
271
281
|
raise ValueError("Error! Please call the create_developer_transaction_cancel_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
272
|
-
return self.create_developer_transaction_cancel_with_http_info(id, cancel_transaction_for_developer_request, **kwargs) # noqa: E501
|
|
282
|
+
return self.create_developer_transaction_cancel_with_http_info(id, cancel_transaction_for_developer_request, x_request_id, **kwargs) # noqa: E501
|
|
273
283
|
|
|
274
284
|
@auto_fill
|
|
275
285
|
@validate_arguments
|
|
276
|
-
def create_developer_transaction_cancel_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], cancel_transaction_for_developer_request : Annotated[CancelTransactionForDeveloperRequest, Field(..., description="Cancel transaction for developer request")], **kwargs) -> ApiResponse: # noqa: E501
|
|
286
|
+
def create_developer_transaction_cancel_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], cancel_transaction_for_developer_request : Annotated[CancelTransactionForDeveloperRequest, Field(..., description="Cancel transaction for developer request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
277
287
|
"""Cancel a transaction # noqa: E501
|
|
278
288
|
|
|
279
289
|
Cancels a specified transaction from a developer-controlled wallet. Gas fees may still be incurred. This is a best-effort operation, it won't be effective if the original transaction has already been processed by the blockchain. # noqa: E501
|
|
280
290
|
This method makes a synchronous HTTP request by default. To make an
|
|
281
291
|
asynchronous HTTP request, please pass async_req=True
|
|
282
292
|
|
|
283
|
-
>>> thread = api.create_developer_transaction_cancel_with_http_info(id, cancel_transaction_for_developer_request, async_req=True)
|
|
293
|
+
>>> thread = api.create_developer_transaction_cancel_with_http_info(id, cancel_transaction_for_developer_request, x_request_id, async_req=True)
|
|
284
294
|
>>> result = thread.get()
|
|
285
295
|
|
|
286
296
|
:param id: The universally unique identifier of the resource. (required)
|
|
287
297
|
:type id: str
|
|
288
298
|
:param cancel_transaction_for_developer_request: Cancel transaction for developer request (required)
|
|
289
299
|
:type cancel_transaction_for_developer_request: CancelTransactionForDeveloperRequest
|
|
300
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
301
|
+
:type x_request_id: str
|
|
290
302
|
:param async_req: Whether to execute the request asynchronously.
|
|
291
303
|
:type async_req: bool, optional
|
|
292
304
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -316,7 +328,8 @@ class TransactionsApi(object):
|
|
|
316
328
|
|
|
317
329
|
_all_params = [
|
|
318
330
|
'id',
|
|
319
|
-
'cancel_transaction_for_developer_request'
|
|
331
|
+
'cancel_transaction_for_developer_request',
|
|
332
|
+
'x_request_id'
|
|
320
333
|
]
|
|
321
334
|
_all_params.extend(
|
|
322
335
|
[
|
|
@@ -352,6 +365,9 @@ class TransactionsApi(object):
|
|
|
352
365
|
_query_params = []
|
|
353
366
|
# process the header parameters
|
|
354
367
|
_header_params = dict(_params.get('_headers', {}))
|
|
368
|
+
if _params['x_request_id']:
|
|
369
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
370
|
+
|
|
355
371
|
# process the form parameters
|
|
356
372
|
_form_params = []
|
|
357
373
|
_files = {}
|
|
@@ -400,18 +416,20 @@ class TransactionsApi(object):
|
|
|
400
416
|
|
|
401
417
|
@auto_fill
|
|
402
418
|
@validate_arguments
|
|
403
|
-
def create_developer_transaction_contract_execution(self, create_contract_execution_transaction_for_developer_request : Annotated[CreateContractExecutionTransactionForDeveloperRequest, Field(..., description="Create transaction for developer request")], **kwargs) -> CreateContractExecutionTransactionForDeveloper: # noqa: E501
|
|
419
|
+
def create_developer_transaction_contract_execution(self, create_contract_execution_transaction_for_developer_request : Annotated[CreateContractExecutionTransactionForDeveloperRequest, Field(..., description="Create transaction for developer request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> CreateContractExecutionTransactionForDeveloper: # noqa: E501
|
|
404
420
|
"""Create a contract execution transaction # noqa: E501
|
|
405
421
|
|
|
406
422
|
Creates a transaction which executes a smart contract. ABI parameters must be passed in the request. Related transactions may be submitted as a batch transaction in a single call. # noqa: E501
|
|
407
423
|
This method makes a synchronous HTTP request by default. To make an
|
|
408
424
|
asynchronous HTTP request, please pass async_req=True
|
|
409
425
|
|
|
410
|
-
>>> thread = api.create_developer_transaction_contract_execution(create_contract_execution_transaction_for_developer_request, async_req=True)
|
|
426
|
+
>>> thread = api.create_developer_transaction_contract_execution(create_contract_execution_transaction_for_developer_request, x_request_id, async_req=True)
|
|
411
427
|
>>> result = thread.get()
|
|
412
428
|
|
|
413
429
|
:param create_contract_execution_transaction_for_developer_request: Create transaction for developer request (required)
|
|
414
430
|
:type create_contract_execution_transaction_for_developer_request: CreateContractExecutionTransactionForDeveloperRequest
|
|
431
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
432
|
+
:type x_request_id: str
|
|
415
433
|
:param async_req: Whether to execute the request asynchronously.
|
|
416
434
|
:type async_req: bool, optional
|
|
417
435
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -426,22 +444,24 @@ class TransactionsApi(object):
|
|
|
426
444
|
kwargs['_return_http_data_only'] = True
|
|
427
445
|
if '_preload_content' in kwargs:
|
|
428
446
|
raise ValueError("Error! Please call the create_developer_transaction_contract_execution_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
429
|
-
return self.create_developer_transaction_contract_execution_with_http_info(create_contract_execution_transaction_for_developer_request, **kwargs) # noqa: E501
|
|
447
|
+
return self.create_developer_transaction_contract_execution_with_http_info(create_contract_execution_transaction_for_developer_request, x_request_id, **kwargs) # noqa: E501
|
|
430
448
|
|
|
431
449
|
@auto_fill
|
|
432
450
|
@validate_arguments
|
|
433
|
-
def create_developer_transaction_contract_execution_with_http_info(self, create_contract_execution_transaction_for_developer_request : Annotated[CreateContractExecutionTransactionForDeveloperRequest, Field(..., description="Create transaction for developer request")], **kwargs) -> ApiResponse: # noqa: E501
|
|
451
|
+
def create_developer_transaction_contract_execution_with_http_info(self, create_contract_execution_transaction_for_developer_request : Annotated[CreateContractExecutionTransactionForDeveloperRequest, Field(..., description="Create transaction for developer request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
434
452
|
"""Create a contract execution transaction # noqa: E501
|
|
435
453
|
|
|
436
454
|
Creates a transaction which executes a smart contract. ABI parameters must be passed in the request. Related transactions may be submitted as a batch transaction in a single call. # noqa: E501
|
|
437
455
|
This method makes a synchronous HTTP request by default. To make an
|
|
438
456
|
asynchronous HTTP request, please pass async_req=True
|
|
439
457
|
|
|
440
|
-
>>> thread = api.create_developer_transaction_contract_execution_with_http_info(create_contract_execution_transaction_for_developer_request, async_req=True)
|
|
458
|
+
>>> thread = api.create_developer_transaction_contract_execution_with_http_info(create_contract_execution_transaction_for_developer_request, x_request_id, async_req=True)
|
|
441
459
|
>>> result = thread.get()
|
|
442
460
|
|
|
443
461
|
:param create_contract_execution_transaction_for_developer_request: Create transaction for developer request (required)
|
|
444
462
|
:type create_contract_execution_transaction_for_developer_request: CreateContractExecutionTransactionForDeveloperRequest
|
|
463
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
464
|
+
:type x_request_id: str
|
|
445
465
|
:param async_req: Whether to execute the request asynchronously.
|
|
446
466
|
:type async_req: bool, optional
|
|
447
467
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -470,7 +490,8 @@ class TransactionsApi(object):
|
|
|
470
490
|
_params = locals()
|
|
471
491
|
|
|
472
492
|
_all_params = [
|
|
473
|
-
'create_contract_execution_transaction_for_developer_request'
|
|
493
|
+
'create_contract_execution_transaction_for_developer_request',
|
|
494
|
+
'x_request_id'
|
|
474
495
|
]
|
|
475
496
|
_all_params.extend(
|
|
476
497
|
[
|
|
@@ -503,6 +524,9 @@ class TransactionsApi(object):
|
|
|
503
524
|
_query_params = []
|
|
504
525
|
# process the header parameters
|
|
505
526
|
_header_params = dict(_params.get('_headers', {}))
|
|
527
|
+
if _params['x_request_id']:
|
|
528
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
529
|
+
|
|
506
530
|
# process the form parameters
|
|
507
531
|
_form_params = []
|
|
508
532
|
_files = {}
|
|
@@ -552,18 +576,20 @@ class TransactionsApi(object):
|
|
|
552
576
|
|
|
553
577
|
@auto_fill
|
|
554
578
|
@validate_arguments
|
|
555
|
-
def create_developer_transaction_transfer(self, create_transfer_transaction_for_developer_request : Annotated[CreateTransferTransactionForDeveloperRequest, Field(..., description="Create transaction for developer request")], **kwargs) -> CreateTransferTransactionForDeveloperResponse: # noqa: E501
|
|
579
|
+
def create_developer_transaction_transfer(self, create_transfer_transaction_for_developer_request : Annotated[CreateTransferTransactionForDeveloperRequest, Field(..., description="Create transaction for developer request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> CreateTransferTransactionForDeveloperResponse: # noqa: E501
|
|
556
580
|
"""Create a transfer transaction # noqa: E501
|
|
557
581
|
|
|
558
582
|
Initiates an on-chain digital asset transfer from a specified developer-controlled wallet. # noqa: E501
|
|
559
583
|
This method makes a synchronous HTTP request by default. To make an
|
|
560
584
|
asynchronous HTTP request, please pass async_req=True
|
|
561
585
|
|
|
562
|
-
>>> thread = api.create_developer_transaction_transfer(create_transfer_transaction_for_developer_request, async_req=True)
|
|
586
|
+
>>> thread = api.create_developer_transaction_transfer(create_transfer_transaction_for_developer_request, x_request_id, async_req=True)
|
|
563
587
|
>>> result = thread.get()
|
|
564
588
|
|
|
565
589
|
:param create_transfer_transaction_for_developer_request: Create transaction for developer request (required)
|
|
566
590
|
:type create_transfer_transaction_for_developer_request: CreateTransferTransactionForDeveloperRequest
|
|
591
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
592
|
+
:type x_request_id: str
|
|
567
593
|
:param async_req: Whether to execute the request asynchronously.
|
|
568
594
|
:type async_req: bool, optional
|
|
569
595
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -578,22 +604,24 @@ class TransactionsApi(object):
|
|
|
578
604
|
kwargs['_return_http_data_only'] = True
|
|
579
605
|
if '_preload_content' in kwargs:
|
|
580
606
|
raise ValueError("Error! Please call the create_developer_transaction_transfer_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
581
|
-
return self.create_developer_transaction_transfer_with_http_info(create_transfer_transaction_for_developer_request, **kwargs) # noqa: E501
|
|
607
|
+
return self.create_developer_transaction_transfer_with_http_info(create_transfer_transaction_for_developer_request, x_request_id, **kwargs) # noqa: E501
|
|
582
608
|
|
|
583
609
|
@auto_fill
|
|
584
610
|
@validate_arguments
|
|
585
|
-
def create_developer_transaction_transfer_with_http_info(self, create_transfer_transaction_for_developer_request : Annotated[CreateTransferTransactionForDeveloperRequest, Field(..., description="Create transaction for developer request")], **kwargs) -> ApiResponse: # noqa: E501
|
|
611
|
+
def create_developer_transaction_transfer_with_http_info(self, create_transfer_transaction_for_developer_request : Annotated[CreateTransferTransactionForDeveloperRequest, Field(..., description="Create transaction for developer request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
586
612
|
"""Create a transfer transaction # noqa: E501
|
|
587
613
|
|
|
588
614
|
Initiates an on-chain digital asset transfer from a specified developer-controlled wallet. # noqa: E501
|
|
589
615
|
This method makes a synchronous HTTP request by default. To make an
|
|
590
616
|
asynchronous HTTP request, please pass async_req=True
|
|
591
617
|
|
|
592
|
-
>>> thread = api.create_developer_transaction_transfer_with_http_info(create_transfer_transaction_for_developer_request, async_req=True)
|
|
618
|
+
>>> thread = api.create_developer_transaction_transfer_with_http_info(create_transfer_transaction_for_developer_request, x_request_id, async_req=True)
|
|
593
619
|
>>> result = thread.get()
|
|
594
620
|
|
|
595
621
|
:param create_transfer_transaction_for_developer_request: Create transaction for developer request (required)
|
|
596
622
|
:type create_transfer_transaction_for_developer_request: CreateTransferTransactionForDeveloperRequest
|
|
623
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
624
|
+
:type x_request_id: str
|
|
597
625
|
:param async_req: Whether to execute the request asynchronously.
|
|
598
626
|
:type async_req: bool, optional
|
|
599
627
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -622,7 +650,8 @@ class TransactionsApi(object):
|
|
|
622
650
|
_params = locals()
|
|
623
651
|
|
|
624
652
|
_all_params = [
|
|
625
|
-
'create_transfer_transaction_for_developer_request'
|
|
653
|
+
'create_transfer_transaction_for_developer_request',
|
|
654
|
+
'x_request_id'
|
|
626
655
|
]
|
|
627
656
|
_all_params.extend(
|
|
628
657
|
[
|
|
@@ -655,6 +684,9 @@ class TransactionsApi(object):
|
|
|
655
684
|
_query_params = []
|
|
656
685
|
# process the header parameters
|
|
657
686
|
_header_params = dict(_params.get('_headers', {}))
|
|
687
|
+
if _params['x_request_id']:
|
|
688
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
689
|
+
|
|
658
690
|
# process the form parameters
|
|
659
691
|
_form_params = []
|
|
660
692
|
_files = {}
|
|
@@ -704,18 +736,20 @@ class TransactionsApi(object):
|
|
|
704
736
|
|
|
705
737
|
@auto_fill
|
|
706
738
|
@validate_arguments
|
|
707
|
-
def create_developer_transaction_wallet_upgrade(self, create_wallet_upgrade_transaction_for_developer_request : Annotated[CreateWalletUpgradeTransactionForDeveloperRequest, Field(..., description="Creates a transaction for a developer request.")], **kwargs) -> CreateWalletUpgradeTransactionForDeveloper: # noqa: E501
|
|
739
|
+
def create_developer_transaction_wallet_upgrade(self, create_wallet_upgrade_transaction_for_developer_request : Annotated[CreateWalletUpgradeTransactionForDeveloperRequest, Field(..., description="Creates a transaction for a developer request.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> CreateWalletUpgradeTransactionForDeveloper: # noqa: E501
|
|
708
740
|
"""Create a wallet upgrade transaction # noqa: E501
|
|
709
741
|
|
|
710
742
|
Creates a transaction which upgrades a wallet. # noqa: E501
|
|
711
743
|
This method makes a synchronous HTTP request by default. To make an
|
|
712
744
|
asynchronous HTTP request, please pass async_req=True
|
|
713
745
|
|
|
714
|
-
>>> thread = api.create_developer_transaction_wallet_upgrade(create_wallet_upgrade_transaction_for_developer_request, async_req=True)
|
|
746
|
+
>>> thread = api.create_developer_transaction_wallet_upgrade(create_wallet_upgrade_transaction_for_developer_request, x_request_id, async_req=True)
|
|
715
747
|
>>> result = thread.get()
|
|
716
748
|
|
|
717
749
|
:param create_wallet_upgrade_transaction_for_developer_request: Creates a transaction for a developer request. (required)
|
|
718
750
|
:type create_wallet_upgrade_transaction_for_developer_request: CreateWalletUpgradeTransactionForDeveloperRequest
|
|
751
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
752
|
+
:type x_request_id: str
|
|
719
753
|
:param async_req: Whether to execute the request asynchronously.
|
|
720
754
|
:type async_req: bool, optional
|
|
721
755
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -730,22 +764,24 @@ class TransactionsApi(object):
|
|
|
730
764
|
kwargs['_return_http_data_only'] = True
|
|
731
765
|
if '_preload_content' in kwargs:
|
|
732
766
|
raise ValueError("Error! Please call the create_developer_transaction_wallet_upgrade_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
733
|
-
return self.create_developer_transaction_wallet_upgrade_with_http_info(create_wallet_upgrade_transaction_for_developer_request, **kwargs) # noqa: E501
|
|
767
|
+
return self.create_developer_transaction_wallet_upgrade_with_http_info(create_wallet_upgrade_transaction_for_developer_request, x_request_id, **kwargs) # noqa: E501
|
|
734
768
|
|
|
735
769
|
@auto_fill
|
|
736
770
|
@validate_arguments
|
|
737
|
-
def create_developer_transaction_wallet_upgrade_with_http_info(self, create_wallet_upgrade_transaction_for_developer_request : Annotated[CreateWalletUpgradeTransactionForDeveloperRequest, Field(..., description="Creates a transaction for a developer request.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
771
|
+
def create_developer_transaction_wallet_upgrade_with_http_info(self, create_wallet_upgrade_transaction_for_developer_request : Annotated[CreateWalletUpgradeTransactionForDeveloperRequest, Field(..., description="Creates a transaction for a developer request.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
738
772
|
"""Create a wallet upgrade transaction # noqa: E501
|
|
739
773
|
|
|
740
774
|
Creates a transaction which upgrades a wallet. # noqa: E501
|
|
741
775
|
This method makes a synchronous HTTP request by default. To make an
|
|
742
776
|
asynchronous HTTP request, please pass async_req=True
|
|
743
777
|
|
|
744
|
-
>>> thread = api.create_developer_transaction_wallet_upgrade_with_http_info(create_wallet_upgrade_transaction_for_developer_request, async_req=True)
|
|
778
|
+
>>> thread = api.create_developer_transaction_wallet_upgrade_with_http_info(create_wallet_upgrade_transaction_for_developer_request, x_request_id, async_req=True)
|
|
745
779
|
>>> result = thread.get()
|
|
746
780
|
|
|
747
781
|
:param create_wallet_upgrade_transaction_for_developer_request: Creates a transaction for a developer request. (required)
|
|
748
782
|
:type create_wallet_upgrade_transaction_for_developer_request: CreateWalletUpgradeTransactionForDeveloperRequest
|
|
783
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
784
|
+
:type x_request_id: str
|
|
749
785
|
:param async_req: Whether to execute the request asynchronously.
|
|
750
786
|
:type async_req: bool, optional
|
|
751
787
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -774,7 +810,8 @@ class TransactionsApi(object):
|
|
|
774
810
|
_params = locals()
|
|
775
811
|
|
|
776
812
|
_all_params = [
|
|
777
|
-
'create_wallet_upgrade_transaction_for_developer_request'
|
|
813
|
+
'create_wallet_upgrade_transaction_for_developer_request',
|
|
814
|
+
'x_request_id'
|
|
778
815
|
]
|
|
779
816
|
_all_params.extend(
|
|
780
817
|
[
|
|
@@ -807,6 +844,9 @@ class TransactionsApi(object):
|
|
|
807
844
|
_query_params = []
|
|
808
845
|
# process the header parameters
|
|
809
846
|
_header_params = dict(_params.get('_headers', {}))
|
|
847
|
+
if _params['x_request_id']:
|
|
848
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
849
|
+
|
|
810
850
|
# process the form parameters
|
|
811
851
|
_form_params = []
|
|
812
852
|
_files = {}
|
|
@@ -856,18 +896,20 @@ class TransactionsApi(object):
|
|
|
856
896
|
|
|
857
897
|
@auto_fill
|
|
858
898
|
@validate_arguments
|
|
859
|
-
def create_transaction_estimate_fee(self, estimate_contract_execution_transaction_fee_request : Annotated[EstimateContractExecutionTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], **kwargs) -> EstimateTransactionFee: # noqa: E501
|
|
899
|
+
def create_transaction_estimate_fee(self, estimate_contract_execution_transaction_fee_request : Annotated[EstimateContractExecutionTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> EstimateTransactionFee: # noqa: E501
|
|
860
900
|
"""Estimate fee for a contract execution transaction # noqa: E501
|
|
861
901
|
|
|
862
902
|
Estimates gas fees that will be incurred for a contract execution transaction, given its ABI parameters and blockchain. # noqa: E501
|
|
863
903
|
This method makes a synchronous HTTP request by default. To make an
|
|
864
904
|
asynchronous HTTP request, please pass async_req=True
|
|
865
905
|
|
|
866
|
-
>>> thread = api.create_transaction_estimate_fee(estimate_contract_execution_transaction_fee_request, async_req=True)
|
|
906
|
+
>>> thread = api.create_transaction_estimate_fee(estimate_contract_execution_transaction_fee_request, x_request_id, async_req=True)
|
|
867
907
|
>>> result = thread.get()
|
|
868
908
|
|
|
869
909
|
:param estimate_contract_execution_transaction_fee_request: Estimate transaction fee request (required)
|
|
870
910
|
:type estimate_contract_execution_transaction_fee_request: EstimateContractExecutionTransactionFeeRequest
|
|
911
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
912
|
+
:type x_request_id: str
|
|
871
913
|
:param async_req: Whether to execute the request asynchronously.
|
|
872
914
|
:type async_req: bool, optional
|
|
873
915
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -882,22 +924,24 @@ class TransactionsApi(object):
|
|
|
882
924
|
kwargs['_return_http_data_only'] = True
|
|
883
925
|
if '_preload_content' in kwargs:
|
|
884
926
|
raise ValueError("Error! Please call the create_transaction_estimate_fee_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
885
|
-
return self.create_transaction_estimate_fee_with_http_info(estimate_contract_execution_transaction_fee_request, **kwargs) # noqa: E501
|
|
927
|
+
return self.create_transaction_estimate_fee_with_http_info(estimate_contract_execution_transaction_fee_request, x_request_id, **kwargs) # noqa: E501
|
|
886
928
|
|
|
887
929
|
@auto_fill
|
|
888
930
|
@validate_arguments
|
|
889
|
-
def create_transaction_estimate_fee_with_http_info(self, estimate_contract_execution_transaction_fee_request : Annotated[EstimateContractExecutionTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], **kwargs) -> ApiResponse: # noqa: E501
|
|
931
|
+
def create_transaction_estimate_fee_with_http_info(self, estimate_contract_execution_transaction_fee_request : Annotated[EstimateContractExecutionTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
890
932
|
"""Estimate fee for a contract execution transaction # noqa: E501
|
|
891
933
|
|
|
892
934
|
Estimates gas fees that will be incurred for a contract execution transaction, given its ABI parameters and blockchain. # noqa: E501
|
|
893
935
|
This method makes a synchronous HTTP request by default. To make an
|
|
894
936
|
asynchronous HTTP request, please pass async_req=True
|
|
895
937
|
|
|
896
|
-
>>> thread = api.create_transaction_estimate_fee_with_http_info(estimate_contract_execution_transaction_fee_request, async_req=True)
|
|
938
|
+
>>> thread = api.create_transaction_estimate_fee_with_http_info(estimate_contract_execution_transaction_fee_request, x_request_id, async_req=True)
|
|
897
939
|
>>> result = thread.get()
|
|
898
940
|
|
|
899
941
|
:param estimate_contract_execution_transaction_fee_request: Estimate transaction fee request (required)
|
|
900
942
|
:type estimate_contract_execution_transaction_fee_request: EstimateContractExecutionTransactionFeeRequest
|
|
943
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
944
|
+
:type x_request_id: str
|
|
901
945
|
:param async_req: Whether to execute the request asynchronously.
|
|
902
946
|
:type async_req: bool, optional
|
|
903
947
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -926,7 +970,8 @@ class TransactionsApi(object):
|
|
|
926
970
|
_params = locals()
|
|
927
971
|
|
|
928
972
|
_all_params = [
|
|
929
|
-
'estimate_contract_execution_transaction_fee_request'
|
|
973
|
+
'estimate_contract_execution_transaction_fee_request',
|
|
974
|
+
'x_request_id'
|
|
930
975
|
]
|
|
931
976
|
_all_params.extend(
|
|
932
977
|
[
|
|
@@ -959,6 +1004,9 @@ class TransactionsApi(object):
|
|
|
959
1004
|
_query_params = []
|
|
960
1005
|
# process the header parameters
|
|
961
1006
|
_header_params = dict(_params.get('_headers', {}))
|
|
1007
|
+
if _params['x_request_id']:
|
|
1008
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
1009
|
+
|
|
962
1010
|
# process the form parameters
|
|
963
1011
|
_form_params = []
|
|
964
1012
|
_files = {}
|
|
@@ -1006,18 +1054,20 @@ class TransactionsApi(object):
|
|
|
1006
1054
|
|
|
1007
1055
|
@auto_fill
|
|
1008
1056
|
@validate_arguments
|
|
1009
|
-
def create_transfer_estimate_fee(self, estimate_transfer_transaction_fee_request : Annotated[EstimateTransferTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], **kwargs) -> EstimateTransactionFee: # noqa: E501
|
|
1057
|
+
def create_transfer_estimate_fee(self, estimate_transfer_transaction_fee_request : Annotated[EstimateTransferTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> EstimateTransactionFee: # noqa: E501
|
|
1010
1058
|
"""Estimate fee for a transfer transaction # noqa: E501
|
|
1011
1059
|
|
|
1012
1060
|
Estimates gas fees that will be incurred for a transfer transaction; given its amount, blockchain, and token. # noqa: E501
|
|
1013
1061
|
This method makes a synchronous HTTP request by default. To make an
|
|
1014
1062
|
asynchronous HTTP request, please pass async_req=True
|
|
1015
1063
|
|
|
1016
|
-
>>> thread = api.create_transfer_estimate_fee(estimate_transfer_transaction_fee_request, async_req=True)
|
|
1064
|
+
>>> thread = api.create_transfer_estimate_fee(estimate_transfer_transaction_fee_request, x_request_id, async_req=True)
|
|
1017
1065
|
>>> result = thread.get()
|
|
1018
1066
|
|
|
1019
1067
|
:param estimate_transfer_transaction_fee_request: Estimate transaction fee request (required)
|
|
1020
1068
|
:type estimate_transfer_transaction_fee_request: EstimateTransferTransactionFeeRequest
|
|
1069
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1070
|
+
:type x_request_id: str
|
|
1021
1071
|
:param async_req: Whether to execute the request asynchronously.
|
|
1022
1072
|
:type async_req: bool, optional
|
|
1023
1073
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -1032,22 +1082,24 @@ class TransactionsApi(object):
|
|
|
1032
1082
|
kwargs['_return_http_data_only'] = True
|
|
1033
1083
|
if '_preload_content' in kwargs:
|
|
1034
1084
|
raise ValueError("Error! Please call the create_transfer_estimate_fee_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
1035
|
-
return self.create_transfer_estimate_fee_with_http_info(estimate_transfer_transaction_fee_request, **kwargs) # noqa: E501
|
|
1085
|
+
return self.create_transfer_estimate_fee_with_http_info(estimate_transfer_transaction_fee_request, x_request_id, **kwargs) # noqa: E501
|
|
1036
1086
|
|
|
1037
1087
|
@auto_fill
|
|
1038
1088
|
@validate_arguments
|
|
1039
|
-
def create_transfer_estimate_fee_with_http_info(self, estimate_transfer_transaction_fee_request : Annotated[EstimateTransferTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], **kwargs) -> ApiResponse: # noqa: E501
|
|
1089
|
+
def create_transfer_estimate_fee_with_http_info(self, estimate_transfer_transaction_fee_request : Annotated[EstimateTransferTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
1040
1090
|
"""Estimate fee for a transfer transaction # noqa: E501
|
|
1041
1091
|
|
|
1042
1092
|
Estimates gas fees that will be incurred for a transfer transaction; given its amount, blockchain, and token. # noqa: E501
|
|
1043
1093
|
This method makes a synchronous HTTP request by default. To make an
|
|
1044
1094
|
asynchronous HTTP request, please pass async_req=True
|
|
1045
1095
|
|
|
1046
|
-
>>> thread = api.create_transfer_estimate_fee_with_http_info(estimate_transfer_transaction_fee_request, async_req=True)
|
|
1096
|
+
>>> thread = api.create_transfer_estimate_fee_with_http_info(estimate_transfer_transaction_fee_request, x_request_id, async_req=True)
|
|
1047
1097
|
>>> result = thread.get()
|
|
1048
1098
|
|
|
1049
1099
|
:param estimate_transfer_transaction_fee_request: Estimate transaction fee request (required)
|
|
1050
1100
|
:type estimate_transfer_transaction_fee_request: EstimateTransferTransactionFeeRequest
|
|
1101
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1102
|
+
:type x_request_id: str
|
|
1051
1103
|
:param async_req: Whether to execute the request asynchronously.
|
|
1052
1104
|
:type async_req: bool, optional
|
|
1053
1105
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -1076,7 +1128,8 @@ class TransactionsApi(object):
|
|
|
1076
1128
|
_params = locals()
|
|
1077
1129
|
|
|
1078
1130
|
_all_params = [
|
|
1079
|
-
'estimate_transfer_transaction_fee_request'
|
|
1131
|
+
'estimate_transfer_transaction_fee_request',
|
|
1132
|
+
'x_request_id'
|
|
1080
1133
|
]
|
|
1081
1134
|
_all_params.extend(
|
|
1082
1135
|
[
|
|
@@ -1109,6 +1162,9 @@ class TransactionsApi(object):
|
|
|
1109
1162
|
_query_params = []
|
|
1110
1163
|
# process the header parameters
|
|
1111
1164
|
_header_params = dict(_params.get('_headers', {}))
|
|
1165
|
+
if _params['x_request_id']:
|
|
1166
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
1167
|
+
|
|
1112
1168
|
# process the form parameters
|
|
1113
1169
|
_form_params = []
|
|
1114
1170
|
_files = {}
|
|
@@ -1306,20 +1362,22 @@ class TransactionsApi(object):
|
|
|
1306
1362
|
|
|
1307
1363
|
@auto_fill
|
|
1308
1364
|
@validate_arguments
|
|
1309
|
-
def get_transaction(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], tx_type : Annotated[Optional[TransactionType], Field(description="Filter by on the transaction type.")] = None, **kwargs) -> TransactionResponse: # noqa: E501
|
|
1365
|
+
def get_transaction(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], tx_type : Annotated[Optional[TransactionType], Field(description="Filter by on the transaction type.")] = None, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> TransactionResponse: # noqa: E501
|
|
1310
1366
|
"""Get a transaction # noqa: E501
|
|
1311
1367
|
|
|
1312
1368
|
Retrieves info for a single transaction using it's unique identifier. # noqa: E501
|
|
1313
1369
|
This method makes a synchronous HTTP request by default. To make an
|
|
1314
1370
|
asynchronous HTTP request, please pass async_req=True
|
|
1315
1371
|
|
|
1316
|
-
>>> thread = api.get_transaction(id, tx_type, async_req=True)
|
|
1372
|
+
>>> thread = api.get_transaction(id, tx_type, x_request_id, async_req=True)
|
|
1317
1373
|
>>> result = thread.get()
|
|
1318
1374
|
|
|
1319
1375
|
:param id: The universally unique identifier of the resource. (required)
|
|
1320
1376
|
:type id: str
|
|
1321
1377
|
:param tx_type: Filter by on the transaction type.
|
|
1322
1378
|
:type tx_type: TransactionType
|
|
1379
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1380
|
+
:type x_request_id: str
|
|
1323
1381
|
:param async_req: Whether to execute the request asynchronously.
|
|
1324
1382
|
:type async_req: bool, optional
|
|
1325
1383
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -1334,24 +1392,26 @@ class TransactionsApi(object):
|
|
|
1334
1392
|
kwargs['_return_http_data_only'] = True
|
|
1335
1393
|
if '_preload_content' in kwargs:
|
|
1336
1394
|
raise ValueError("Error! Please call the get_transaction_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
1337
|
-
return self.get_transaction_with_http_info(id, tx_type, **kwargs) # noqa: E501
|
|
1395
|
+
return self.get_transaction_with_http_info(id, tx_type, x_request_id, **kwargs) # noqa: E501
|
|
1338
1396
|
|
|
1339
1397
|
@auto_fill
|
|
1340
1398
|
@validate_arguments
|
|
1341
|
-
def get_transaction_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], tx_type : Annotated[Optional[TransactionType], Field(description="Filter by on the transaction type.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
1399
|
+
def get_transaction_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], tx_type : Annotated[Optional[TransactionType], Field(description="Filter by on the transaction type.")] = None, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
1342
1400
|
"""Get a transaction # noqa: E501
|
|
1343
1401
|
|
|
1344
1402
|
Retrieves info for a single transaction using it's unique identifier. # noqa: E501
|
|
1345
1403
|
This method makes a synchronous HTTP request by default. To make an
|
|
1346
1404
|
asynchronous HTTP request, please pass async_req=True
|
|
1347
1405
|
|
|
1348
|
-
>>> thread = api.get_transaction_with_http_info(id, tx_type, async_req=True)
|
|
1406
|
+
>>> thread = api.get_transaction_with_http_info(id, tx_type, x_request_id, async_req=True)
|
|
1349
1407
|
>>> result = thread.get()
|
|
1350
1408
|
|
|
1351
1409
|
:param id: The universally unique identifier of the resource. (required)
|
|
1352
1410
|
:type id: str
|
|
1353
1411
|
:param tx_type: Filter by on the transaction type.
|
|
1354
1412
|
:type tx_type: TransactionType
|
|
1413
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1414
|
+
:type x_request_id: str
|
|
1355
1415
|
:param async_req: Whether to execute the request asynchronously.
|
|
1356
1416
|
:type async_req: bool, optional
|
|
1357
1417
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -1381,7 +1441,8 @@ class TransactionsApi(object):
|
|
|
1381
1441
|
|
|
1382
1442
|
_all_params = [
|
|
1383
1443
|
'id',
|
|
1384
|
-
'tx_type'
|
|
1444
|
+
'tx_type',
|
|
1445
|
+
'x_request_id'
|
|
1385
1446
|
]
|
|
1386
1447
|
_all_params.extend(
|
|
1387
1448
|
[
|
|
@@ -1420,6 +1481,9 @@ class TransactionsApi(object):
|
|
|
1420
1481
|
|
|
1421
1482
|
# process the header parameters
|
|
1422
1483
|
_header_params = dict(_params.get('_headers', {}))
|
|
1484
|
+
if _params['x_request_id']:
|
|
1485
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
1486
|
+
|
|
1423
1487
|
# process the form parameters
|
|
1424
1488
|
_form_params = []
|
|
1425
1489
|
_files = {}
|
|
@@ -1458,14 +1522,14 @@ class TransactionsApi(object):
|
|
|
1458
1522
|
|
|
1459
1523
|
@auto_fill
|
|
1460
1524
|
@validate_arguments
|
|
1461
|
-
def list_transactions(self, blockchain : Annotated[Optional[Blockchain], Field(description="Filter by blockchain.")] = None, custody_type : Annotated[Optional[CustodyType], Field(description="Filter by the custody type.")] = None, destination_address : Annotated[Optional[StrictStr], Field(description="Filter by the destination address.")] = None, include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, operation : Annotated[Optional[StrictStr], Field(description="Filter by the operation of the transaction.")] = None, state : Annotated[Optional[TransactionState], Field(description="Filter by the state of the transaction.")] = None, tx_hash : Annotated[Optional[StrictStr], Field(description="Filter on the transaction hash of the transaction.")] = None, tx_type : Annotated[Optional[TransactionType], Field(description="Filter by on the transaction type.")] = None, wallet_ids : Annotated[Optional[StrictStr], Field(description="Filter by the wallet IDs, this parameter is a comma separated list of ids.")] = None, var_from : Annotated[Optional[datetime], Field(description="Queries items created since the specified date-time (inclusive) in ISO 8601 format.")] = None, to : Annotated[Optional[datetime], Field(description="Queries items created before the specified date-time (inclusive) in ISO 8601 format.")] = None, page_before : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter. ")] = None, page_after : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore. ")] = None, page_size : Annotated[Optional[conint(strict=True, le=50, ge=1)], Field(description="Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself. ")] = None, **kwargs) -> Transactions: # noqa: E501
|
|
1525
|
+
def list_transactions(self, blockchain : Annotated[Optional[Blockchain], Field(description="Filter by blockchain.")] = None, custody_type : Annotated[Optional[CustodyType], Field(description="Filter by the custody type.")] = None, destination_address : Annotated[Optional[StrictStr], Field(description="Filter by the destination address.")] = None, include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, operation : Annotated[Optional[StrictStr], Field(description="Filter by the operation of the transaction.")] = None, state : Annotated[Optional[TransactionState], Field(description="Filter by the state of the transaction.")] = None, tx_hash : Annotated[Optional[StrictStr], Field(description="Filter on the transaction hash of the transaction.")] = None, tx_type : Annotated[Optional[TransactionType], Field(description="Filter by on the transaction type.")] = None, wallet_ids : Annotated[Optional[StrictStr], Field(description="Filter by the wallet IDs, this parameter is a comma separated list of ids.")] = None, var_from : Annotated[Optional[datetime], Field(description="Queries items created since the specified date-time (inclusive) in ISO 8601 format.")] = None, to : Annotated[Optional[datetime], Field(description="Queries items created before the specified date-time (inclusive) in ISO 8601 format.")] = None, page_before : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter. ")] = None, page_after : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore. ")] = None, page_size : Annotated[Optional[conint(strict=True, le=50, ge=1)], Field(description="Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself. ")] = None, order : Annotated[Optional[StrictStr], Field(description="Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default). ")] = None, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> Transactions: # noqa: E501
|
|
1462
1526
|
"""List transactions # noqa: E501
|
|
1463
1527
|
|
|
1464
1528
|
Lists all transactions. Includes details such as status, source/destination, and transaction hash. # noqa: E501
|
|
1465
1529
|
This method makes a synchronous HTTP request by default. To make an
|
|
1466
1530
|
asynchronous HTTP request, please pass async_req=True
|
|
1467
1531
|
|
|
1468
|
-
>>> thread = api.list_transactions(blockchain, custody_type, destination_address, include_all, operation, state, tx_hash, tx_type, wallet_ids, var_from, to, page_before, page_after, page_size, async_req=True)
|
|
1532
|
+
>>> thread = api.list_transactions(blockchain, custody_type, destination_address, include_all, operation, state, tx_hash, tx_type, wallet_ids, var_from, to, page_before, page_after, page_size, order, x_request_id, async_req=True)
|
|
1469
1533
|
>>> result = thread.get()
|
|
1470
1534
|
|
|
1471
1535
|
:param blockchain: Filter by blockchain.
|
|
@@ -1496,6 +1560,10 @@ class TransactionsApi(object):
|
|
|
1496
1560
|
:type page_after: str
|
|
1497
1561
|
:param page_size: Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
1498
1562
|
:type page_size: int
|
|
1563
|
+
:param order: Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default).
|
|
1564
|
+
:type order: str
|
|
1565
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1566
|
+
:type x_request_id: str
|
|
1499
1567
|
:param async_req: Whether to execute the request asynchronously.
|
|
1500
1568
|
:type async_req: bool, optional
|
|
1501
1569
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -1510,18 +1578,18 @@ class TransactionsApi(object):
|
|
|
1510
1578
|
kwargs['_return_http_data_only'] = True
|
|
1511
1579
|
if '_preload_content' in kwargs:
|
|
1512
1580
|
raise ValueError("Error! Please call the list_transactions_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
1513
|
-
return self.list_transactions_with_http_info(blockchain, custody_type, destination_address, include_all, operation, state, tx_hash, tx_type, wallet_ids, var_from, to, page_before, page_after, page_size, **kwargs) # noqa: E501
|
|
1581
|
+
return self.list_transactions_with_http_info(blockchain, custody_type, destination_address, include_all, operation, state, tx_hash, tx_type, wallet_ids, var_from, to, page_before, page_after, page_size, order, x_request_id, **kwargs) # noqa: E501
|
|
1514
1582
|
|
|
1515
1583
|
@auto_fill
|
|
1516
1584
|
@validate_arguments
|
|
1517
|
-
def list_transactions_with_http_info(self, blockchain : Annotated[Optional[Blockchain], Field(description="Filter by blockchain.")] = None, custody_type : Annotated[Optional[CustodyType], Field(description="Filter by the custody type.")] = None, destination_address : Annotated[Optional[StrictStr], Field(description="Filter by the destination address.")] = None, include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, operation : Annotated[Optional[StrictStr], Field(description="Filter by the operation of the transaction.")] = None, state : Annotated[Optional[TransactionState], Field(description="Filter by the state of the transaction.")] = None, tx_hash : Annotated[Optional[StrictStr], Field(description="Filter on the transaction hash of the transaction.")] = None, tx_type : Annotated[Optional[TransactionType], Field(description="Filter by on the transaction type.")] = None, wallet_ids : Annotated[Optional[StrictStr], Field(description="Filter by the wallet IDs, this parameter is a comma separated list of ids.")] = None, var_from : Annotated[Optional[datetime], Field(description="Queries items created since the specified date-time (inclusive) in ISO 8601 format.")] = None, to : Annotated[Optional[datetime], Field(description="Queries items created before the specified date-time (inclusive) in ISO 8601 format.")] = None, page_before : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter. ")] = None, page_after : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore. ")] = None, page_size : Annotated[Optional[conint(strict=True, le=50, ge=1)], Field(description="Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself. ")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
1585
|
+
def list_transactions_with_http_info(self, blockchain : Annotated[Optional[Blockchain], Field(description="Filter by blockchain.")] = None, custody_type : Annotated[Optional[CustodyType], Field(description="Filter by the custody type.")] = None, destination_address : Annotated[Optional[StrictStr], Field(description="Filter by the destination address.")] = None, include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, operation : Annotated[Optional[StrictStr], Field(description="Filter by the operation of the transaction.")] = None, state : Annotated[Optional[TransactionState], Field(description="Filter by the state of the transaction.")] = None, tx_hash : Annotated[Optional[StrictStr], Field(description="Filter on the transaction hash of the transaction.")] = None, tx_type : Annotated[Optional[TransactionType], Field(description="Filter by on the transaction type.")] = None, wallet_ids : Annotated[Optional[StrictStr], Field(description="Filter by the wallet IDs, this parameter is a comma separated list of ids.")] = None, var_from : Annotated[Optional[datetime], Field(description="Queries items created since the specified date-time (inclusive) in ISO 8601 format.")] = None, to : Annotated[Optional[datetime], Field(description="Queries items created before the specified date-time (inclusive) in ISO 8601 format.")] = None, page_before : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter. ")] = None, page_after : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore. ")] = None, page_size : Annotated[Optional[conint(strict=True, le=50, ge=1)], Field(description="Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself. ")] = None, order : Annotated[Optional[StrictStr], Field(description="Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default). ")] = None, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
1518
1586
|
"""List transactions # noqa: E501
|
|
1519
1587
|
|
|
1520
1588
|
Lists all transactions. Includes details such as status, source/destination, and transaction hash. # noqa: E501
|
|
1521
1589
|
This method makes a synchronous HTTP request by default. To make an
|
|
1522
1590
|
asynchronous HTTP request, please pass async_req=True
|
|
1523
1591
|
|
|
1524
|
-
>>> thread = api.list_transactions_with_http_info(blockchain, custody_type, destination_address, include_all, operation, state, tx_hash, tx_type, wallet_ids, var_from, to, page_before, page_after, page_size, async_req=True)
|
|
1592
|
+
>>> thread = api.list_transactions_with_http_info(blockchain, custody_type, destination_address, include_all, operation, state, tx_hash, tx_type, wallet_ids, var_from, to, page_before, page_after, page_size, order, x_request_id, async_req=True)
|
|
1525
1593
|
>>> result = thread.get()
|
|
1526
1594
|
|
|
1527
1595
|
:param blockchain: Filter by blockchain.
|
|
@@ -1552,6 +1620,10 @@ class TransactionsApi(object):
|
|
|
1552
1620
|
:type page_after: str
|
|
1553
1621
|
:param page_size: Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
1554
1622
|
:type page_size: int
|
|
1623
|
+
:param order: Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default).
|
|
1624
|
+
:type order: str
|
|
1625
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1626
|
+
:type x_request_id: str
|
|
1555
1627
|
:param async_req: Whether to execute the request asynchronously.
|
|
1556
1628
|
:type async_req: bool, optional
|
|
1557
1629
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -1593,7 +1665,9 @@ class TransactionsApi(object):
|
|
|
1593
1665
|
'to',
|
|
1594
1666
|
'page_before',
|
|
1595
1667
|
'page_after',
|
|
1596
|
-
'page_size'
|
|
1668
|
+
'page_size',
|
|
1669
|
+
'order',
|
|
1670
|
+
'x_request_id'
|
|
1597
1671
|
]
|
|
1598
1672
|
_all_params.extend(
|
|
1599
1673
|
[
|
|
@@ -1672,8 +1746,14 @@ class TransactionsApi(object):
|
|
|
1672
1746
|
if _params.get('page_size') is not None: # noqa: E501
|
|
1673
1747
|
_query_params.append(('pageSize', _params['page_size']))
|
|
1674
1748
|
|
|
1749
|
+
if _params.get('order') is not None: # noqa: E501
|
|
1750
|
+
_query_params.append(('order', _params['order']))
|
|
1751
|
+
|
|
1675
1752
|
# process the header parameters
|
|
1676
1753
|
_header_params = dict(_params.get('_headers', {}))
|
|
1754
|
+
if _params['x_request_id']:
|
|
1755
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
1756
|
+
|
|
1677
1757
|
# process the form parameters
|
|
1678
1758
|
_form_params = []
|
|
1679
1759
|
_files = {}
|