circle-developer-controlled-wallets 1.1.1__py3-none-any.whl → 2.0.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 +40 -33
- circle/web3/developer_controlled_wallets/api/signing_api.py +193 -38
- circle/web3/developer_controlled_wallets/api/token_lookup_api.py +8 -8
- circle/web3/developer_controlled_wallets/api/transactions_api.py +47 -47
- circle/web3/developer_controlled_wallets/api/wallet_sets_api.py +14 -14
- circle/web3/developer_controlled_wallets/api/wallets_api.py +30 -30
- circle/web3/developer_controlled_wallets/api_client.py +1 -1
- circle/web3/developer_controlled_wallets/configuration.py +1 -1
- circle/web3/developer_controlled_wallets/models/__init__.py +39 -32
- circle/web3/developer_controlled_wallets/models/{create_developer_transaction_cancel200_response.py → accelerate_transaction_for_developer.py} +11 -11
- circle/web3/developer_controlled_wallets/models/{accelerate_transaction_for_developer_response.py → accelerate_transaction_for_developer_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/balance.py +3 -3
- circle/web3/developer_controlled_wallets/models/{wallet_set2.py → balances.py} +11 -11
- circle/web3/developer_controlled_wallets/models/{get_balances_response.py → balances_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/base_screening_decision.py +88 -0
- circle/web3/developer_controlled_wallets/models/blockchain.py +2 -0
- circle/web3/developer_controlled_wallets/models/cancel_transaction_for_developer.py +87 -0
- circle/web3/developer_controlled_wallets/models/{create_developer_transaction_contract_execution200_response.py → create_contract_execution_transaction_for_developer.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{create_contract_execution_transaction_for_developer_response.py → create_contract_execution_transaction_for_developer_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer_request.py +4 -4
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request.py +4 -4
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_response.py +9 -8
- circle/web3/developer_controlled_wallets/models/{cancel_transaction_for_developer_response.py → create_transfer_transaction_for_developer_response_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/error.py +3 -3
- circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request.py +2 -2
- circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request_blockchain.py +2 -0
- circle/web3/developer_controlled_wallets/models/{get_transaction200_response.py → estimate_transaction_fee.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{estimate_transaction_fee_response.py → estimate_transaction_fee_data.py} +15 -15
- circle/web3/developer_controlled_wallets/models/estimate_transfer_transaction_fee_request.py +1 -1
- circle/web3/developer_controlled_wallets/models/fee_level.py +1 -1
- circle/web3/developer_controlled_wallets/models/nft.py +5 -5
- circle/web3/developer_controlled_wallets/models/{wallet2.py → nfts.py} +11 -11
- circle/web3/developer_controlled_wallets/models/{get_nfts_response.py → nfts_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/risk_action.py +38 -0
- circle/web3/developer_controlled_wallets/models/risk_category.py +48 -0
- circle/web3/developer_controlled_wallets/models/risk_score.py +40 -0
- circle/web3/developer_controlled_wallets/models/risk_signal.py +101 -0
- circle/web3/developer_controlled_wallets/models/risk_type.py +37 -0
- circle/web3/developer_controlled_wallets/models/{sign_message_for_developer_request.py → sign_message_request.py} +9 -9
- circle/web3/developer_controlled_wallets/models/sign_transaction_request.py +89 -0
- circle/web3/developer_controlled_wallets/models/sign_transaction_response.py +87 -0
- circle/web3/developer_controlled_wallets/models/{sign_typed_data_for_developer_response.py → sign_transaction_response_data.py} +13 -11
- circle/web3/developer_controlled_wallets/models/{sign_typed_data_for_developer_request.py → sign_typed_data_request.py} +9 -9
- circle/web3/developer_controlled_wallets/models/{list_wallet_nfts200_response.py → signature_response.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{sign_message_for_developer_response.py → signature_response_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/token.py +103 -0
- circle/web3/developer_controlled_wallets/models/token_blockchain.py +2 -0
- circle/web3/developer_controlled_wallets/models/token_response.py +9 -25
- circle/web3/developer_controlled_wallets/models/{get_token_by_id_response.py → token_response_data.py} +11 -11
- circle/web3/developer_controlled_wallets/models/token_standard.py +6 -0
- circle/web3/developer_controlled_wallets/models/transaction.py +12 -6
- circle/web3/developer_controlled_wallets/models/{estimated_transaction_fee.py → transaction_fee.py} +16 -14
- circle/web3/developer_controlled_wallets/models/{list_transactions200_response.py → transaction_response.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{get_transaction_by_id_response.py → transaction_response_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/transaction_screening_decision.py +98 -0
- circle/web3/developer_controlled_wallets/models/{get_token_id200_response.py → transactions.py} +11 -11
- circle/web3/developer_controlled_wallets/models/{get_transactions_response.py → transactions_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/{list_wallet_ballance200_response.py → validate_address.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{validate_address_response.py → validate_address_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/wallet_response.py +87 -0
- circle/web3/developer_controlled_wallets/models/{wallet2_data.py → wallet_response_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/wallet_set_response.py +87 -0
- circle/web3/developer_controlled_wallets/models/{wallet_set2_data.py → wallet_set_response_data.py} +8 -8
- {circle_developer_controlled_wallets-1.1.1.dist-info → circle_developer_controlled_wallets-2.0.0.dist-info}/METADATA +42 -25
- circle_developer_controlled_wallets-2.0.0.dist-info/RECORD +104 -0
- {circle_developer_controlled_wallets-1.1.1.dist-info → circle_developer_controlled_wallets-2.0.0.dist-info}/WHEEL +1 -1
- circle/web3/developer_controlled_wallets/models/create_developer_transaction_accelerate200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/create_developer_transaction_transfer200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/create_transfer_estimate_fee200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/create_validate_address200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/sign_developer_message200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/sign_developer_typed_data200_response.py +0 -87
- circle_developer_controlled_wallets-1.1.1.dist-info/RECORD +0 -97
- {circle_developer_controlled_wallets-1.1.1.dist-info → circle_developer_controlled_wallets-2.0.0.dist-info}/top_level.txt +0 -0
|
@@ -22,22 +22,22 @@ from pydantic import Field, StrictBool, StrictStr, conint
|
|
|
22
22
|
|
|
23
23
|
from typing import Optional
|
|
24
24
|
|
|
25
|
+
from circle.web3.developer_controlled_wallets.models.accelerate_transaction_for_developer import AccelerateTransactionForDeveloper
|
|
25
26
|
from circle.web3.developer_controlled_wallets.models.accelerate_transaction_for_developer_request import AccelerateTransactionForDeveloperRequest
|
|
26
27
|
from circle.web3.developer_controlled_wallets.models.blockchain import Blockchain
|
|
28
|
+
from circle.web3.developer_controlled_wallets.models.cancel_transaction_for_developer import CancelTransactionForDeveloper
|
|
27
29
|
from circle.web3.developer_controlled_wallets.models.cancel_transaction_for_developer_request import CancelTransactionForDeveloperRequest
|
|
30
|
+
from circle.web3.developer_controlled_wallets.models.create_contract_execution_transaction_for_developer import CreateContractExecutionTransactionForDeveloper
|
|
28
31
|
from circle.web3.developer_controlled_wallets.models.create_contract_execution_transaction_for_developer_request import CreateContractExecutionTransactionForDeveloperRequest
|
|
29
|
-
from circle.web3.developer_controlled_wallets.models.create_developer_transaction_accelerate200_response import CreateDeveloperTransactionAccelerate200Response
|
|
30
|
-
from circle.web3.developer_controlled_wallets.models.create_developer_transaction_cancel200_response import CreateDeveloperTransactionCancel200Response
|
|
31
|
-
from circle.web3.developer_controlled_wallets.models.create_developer_transaction_contract_execution200_response import CreateDeveloperTransactionContractExecution200Response
|
|
32
|
-
from circle.web3.developer_controlled_wallets.models.create_developer_transaction_transfer200_response import CreateDeveloperTransactionTransfer200Response
|
|
33
|
-
from circle.web3.developer_controlled_wallets.models.create_transfer_estimate_fee200_response import CreateTransferEstimateFee200Response
|
|
34
32
|
from circle.web3.developer_controlled_wallets.models.create_transfer_transaction_for_developer_request import CreateTransferTransactionForDeveloperRequest
|
|
35
|
-
from circle.web3.developer_controlled_wallets.models.
|
|
33
|
+
from circle.web3.developer_controlled_wallets.models.create_transfer_transaction_for_developer_response import CreateTransferTransactionForDeveloperResponse
|
|
36
34
|
from circle.web3.developer_controlled_wallets.models.custody_type import CustodyType
|
|
37
35
|
from circle.web3.developer_controlled_wallets.models.estimate_contract_execution_transaction_fee_request import EstimateContractExecutionTransactionFeeRequest
|
|
36
|
+
from circle.web3.developer_controlled_wallets.models.estimate_transaction_fee import EstimateTransactionFee
|
|
38
37
|
from circle.web3.developer_controlled_wallets.models.estimate_transfer_transaction_fee_request import EstimateTransferTransactionFeeRequest
|
|
39
|
-
from circle.web3.developer_controlled_wallets.models.
|
|
40
|
-
from circle.web3.developer_controlled_wallets.models.
|
|
38
|
+
from circle.web3.developer_controlled_wallets.models.transaction_response import TransactionResponse
|
|
39
|
+
from circle.web3.developer_controlled_wallets.models.transactions import Transactions
|
|
40
|
+
from circle.web3.developer_controlled_wallets.models.validate_address import ValidateAddress
|
|
41
41
|
from circle.web3.developer_controlled_wallets.models.validate_address_request import ValidateAddressRequest
|
|
42
42
|
|
|
43
43
|
from circle.web3.developer_controlled_wallets.api_client import ApiClient
|
|
@@ -78,7 +78,7 @@ class TransactionsApi(object):
|
|
|
78
78
|
|
|
79
79
|
@auto_fill
|
|
80
80
|
@validate_arguments
|
|
81
|
-
def create_developer_transaction_accelerate(self, id : Annotated[StrictStr, Field(..., description="Transaction ID")], accelerate_transaction_for_developer_request : Annotated[AccelerateTransactionForDeveloperRequest, Field(..., description="Accelerate transaction for developer request")], **kwargs) ->
|
|
81
|
+
def create_developer_transaction_accelerate(self, id : Annotated[StrictStr, Field(..., description="Transaction ID")], accelerate_transaction_for_developer_request : Annotated[AccelerateTransactionForDeveloperRequest, Field(..., description="Accelerate transaction for developer request")], **kwargs) -> AccelerateTransactionForDeveloper: # noqa: E501
|
|
82
82
|
"""Accelerate a transaction # noqa: E501
|
|
83
83
|
|
|
84
84
|
Accelerates a specified on-chain digital asset transfer from a developer-controlled wallet. Additional gas fees may be incurred. # noqa: E501
|
|
@@ -101,7 +101,7 @@ class TransactionsApi(object):
|
|
|
101
101
|
:return: Returns the result object.
|
|
102
102
|
If the method is called asynchronously,
|
|
103
103
|
returns the request thread.
|
|
104
|
-
:rtype:
|
|
104
|
+
:rtype: AccelerateTransactionForDeveloper
|
|
105
105
|
"""
|
|
106
106
|
kwargs['_return_http_data_only'] = True
|
|
107
107
|
if '_preload_content' in kwargs:
|
|
@@ -146,7 +146,7 @@ class TransactionsApi(object):
|
|
|
146
146
|
:return: Returns the result object.
|
|
147
147
|
If the method is called asynchronously,
|
|
148
148
|
returns the request thread.
|
|
149
|
-
:rtype: tuple(
|
|
149
|
+
:rtype: tuple(AccelerateTransactionForDeveloper, status_code(int), headers(HTTPHeaderDict))
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_params = locals()
|
|
@@ -212,7 +212,7 @@ class TransactionsApi(object):
|
|
|
212
212
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
213
213
|
|
|
214
214
|
_response_types_map = {
|
|
215
|
-
'200': "
|
|
215
|
+
'200': "AccelerateTransactionForDeveloper",
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
return self.api_client.call_api(
|
|
@@ -234,7 +234,7 @@ class TransactionsApi(object):
|
|
|
234
234
|
|
|
235
235
|
@auto_fill
|
|
236
236
|
@validate_arguments
|
|
237
|
-
def create_developer_transaction_cancel(self, id : Annotated[StrictStr, Field(..., description="Transaction ID")], cancel_transaction_for_developer_request : Annotated[CancelTransactionForDeveloperRequest, Field(..., description="Cancel transaction for developer request")], **kwargs) ->
|
|
237
|
+
def create_developer_transaction_cancel(self, id : Annotated[StrictStr, Field(..., description="Transaction ID")], cancel_transaction_for_developer_request : Annotated[CancelTransactionForDeveloperRequest, Field(..., description="Cancel transaction for developer request")], **kwargs) -> CancelTransactionForDeveloper: # noqa: E501
|
|
238
238
|
"""Cancel a transaction # noqa: E501
|
|
239
239
|
|
|
240
240
|
Cancels a specified on-chain digital asset transfer from a developer-controlled wallet. Gas fees may still be incurred. # noqa: E501
|
|
@@ -257,7 +257,7 @@ class TransactionsApi(object):
|
|
|
257
257
|
:return: Returns the result object.
|
|
258
258
|
If the method is called asynchronously,
|
|
259
259
|
returns the request thread.
|
|
260
|
-
:rtype:
|
|
260
|
+
:rtype: CancelTransactionForDeveloper
|
|
261
261
|
"""
|
|
262
262
|
kwargs['_return_http_data_only'] = True
|
|
263
263
|
if '_preload_content' in kwargs:
|
|
@@ -302,7 +302,7 @@ class TransactionsApi(object):
|
|
|
302
302
|
:return: Returns the result object.
|
|
303
303
|
If the method is called asynchronously,
|
|
304
304
|
returns the request thread.
|
|
305
|
-
:rtype: tuple(
|
|
305
|
+
:rtype: tuple(CancelTransactionForDeveloper, status_code(int), headers(HTTPHeaderDict))
|
|
306
306
|
"""
|
|
307
307
|
|
|
308
308
|
_params = locals()
|
|
@@ -368,7 +368,7 @@ class TransactionsApi(object):
|
|
|
368
368
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
369
369
|
|
|
370
370
|
_response_types_map = {
|
|
371
|
-
'200': "
|
|
371
|
+
'200': "CancelTransactionForDeveloper",
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
return self.api_client.call_api(
|
|
@@ -390,7 +390,7 @@ class TransactionsApi(object):
|
|
|
390
390
|
|
|
391
391
|
@auto_fill
|
|
392
392
|
@validate_arguments
|
|
393
|
-
def create_developer_transaction_contract_execution(self, create_contract_execution_transaction_for_developer_request : Annotated[CreateContractExecutionTransactionForDeveloperRequest, Field(..., description="Create transaction for developer request")], **kwargs) ->
|
|
393
|
+
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
|
|
394
394
|
"""Create a contract execution transaction # noqa: E501
|
|
395
395
|
|
|
396
396
|
Creates a transaction which executes a smart contract. ABI parameters must be passed in the request. # noqa: E501
|
|
@@ -411,7 +411,7 @@ class TransactionsApi(object):
|
|
|
411
411
|
:return: Returns the result object.
|
|
412
412
|
If the method is called asynchronously,
|
|
413
413
|
returns the request thread.
|
|
414
|
-
:rtype:
|
|
414
|
+
:rtype: CreateContractExecutionTransactionForDeveloper
|
|
415
415
|
"""
|
|
416
416
|
kwargs['_return_http_data_only'] = True
|
|
417
417
|
if '_preload_content' in kwargs:
|
|
@@ -454,7 +454,7 @@ class TransactionsApi(object):
|
|
|
454
454
|
:return: Returns the result object.
|
|
455
455
|
If the method is called asynchronously,
|
|
456
456
|
returns the request thread.
|
|
457
|
-
:rtype: tuple(
|
|
457
|
+
:rtype: tuple(CreateContractExecutionTransactionForDeveloper, status_code(int), headers(HTTPHeaderDict))
|
|
458
458
|
"""
|
|
459
459
|
|
|
460
460
|
_params = locals()
|
|
@@ -516,7 +516,7 @@ class TransactionsApi(object):
|
|
|
516
516
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
517
517
|
|
|
518
518
|
_response_types_map = {
|
|
519
|
-
'200': "
|
|
519
|
+
'200': "CreateContractExecutionTransactionForDeveloper",
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
return self.api_client.call_api(
|
|
@@ -538,7 +538,7 @@ class TransactionsApi(object):
|
|
|
538
538
|
|
|
539
539
|
@auto_fill
|
|
540
540
|
@validate_arguments
|
|
541
|
-
def create_developer_transaction_transfer(self, create_transfer_transaction_for_developer_request : Annotated[CreateTransferTransactionForDeveloperRequest, Field(..., description="Create transaction for developer request")], **kwargs) ->
|
|
541
|
+
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
|
|
542
542
|
"""Create a transfer transaction # noqa: E501
|
|
543
543
|
|
|
544
544
|
Initiates an on-chain digital asset transfer from a specified developer-controlled wallet. # noqa: E501
|
|
@@ -559,7 +559,7 @@ class TransactionsApi(object):
|
|
|
559
559
|
:return: Returns the result object.
|
|
560
560
|
If the method is called asynchronously,
|
|
561
561
|
returns the request thread.
|
|
562
|
-
:rtype:
|
|
562
|
+
:rtype: CreateTransferTransactionForDeveloperResponse
|
|
563
563
|
"""
|
|
564
564
|
kwargs['_return_http_data_only'] = True
|
|
565
565
|
if '_preload_content' in kwargs:
|
|
@@ -602,7 +602,7 @@ class TransactionsApi(object):
|
|
|
602
602
|
:return: Returns the result object.
|
|
603
603
|
If the method is called asynchronously,
|
|
604
604
|
returns the request thread.
|
|
605
|
-
:rtype: tuple(
|
|
605
|
+
:rtype: tuple(CreateTransferTransactionForDeveloperResponse, status_code(int), headers(HTTPHeaderDict))
|
|
606
606
|
"""
|
|
607
607
|
|
|
608
608
|
_params = locals()
|
|
@@ -664,7 +664,7 @@ class TransactionsApi(object):
|
|
|
664
664
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
665
665
|
|
|
666
666
|
_response_types_map = {
|
|
667
|
-
'200': "
|
|
667
|
+
'200': "CreateTransferTransactionForDeveloperResponse",
|
|
668
668
|
}
|
|
669
669
|
|
|
670
670
|
return self.api_client.call_api(
|
|
@@ -686,7 +686,7 @@ class TransactionsApi(object):
|
|
|
686
686
|
|
|
687
687
|
@auto_fill
|
|
688
688
|
@validate_arguments
|
|
689
|
-
def create_transaction_estimate_fee(self, estimate_contract_execution_transaction_fee_request : Annotated[EstimateContractExecutionTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], **kwargs) ->
|
|
689
|
+
def create_transaction_estimate_fee(self, estimate_contract_execution_transaction_fee_request : Annotated[EstimateContractExecutionTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], **kwargs) -> EstimateTransactionFee: # noqa: E501
|
|
690
690
|
"""Estimate fee for a contract execution transaction # noqa: E501
|
|
691
691
|
|
|
692
692
|
Estimates gas fees that will be incurred for a contract execution transaction, given its ABI parameters and blockchain. # noqa: E501
|
|
@@ -707,7 +707,7 @@ class TransactionsApi(object):
|
|
|
707
707
|
:return: Returns the result object.
|
|
708
708
|
If the method is called asynchronously,
|
|
709
709
|
returns the request thread.
|
|
710
|
-
:rtype:
|
|
710
|
+
:rtype: EstimateTransactionFee
|
|
711
711
|
"""
|
|
712
712
|
kwargs['_return_http_data_only'] = True
|
|
713
713
|
if '_preload_content' in kwargs:
|
|
@@ -750,7 +750,7 @@ class TransactionsApi(object):
|
|
|
750
750
|
:return: Returns the result object.
|
|
751
751
|
If the method is called asynchronously,
|
|
752
752
|
returns the request thread.
|
|
753
|
-
:rtype: tuple(
|
|
753
|
+
:rtype: tuple(EstimateTransactionFee, status_code(int), headers(HTTPHeaderDict))
|
|
754
754
|
"""
|
|
755
755
|
|
|
756
756
|
_params = locals()
|
|
@@ -812,7 +812,7 @@ class TransactionsApi(object):
|
|
|
812
812
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
813
813
|
|
|
814
814
|
_response_types_map = {
|
|
815
|
-
'200': "
|
|
815
|
+
'200': "EstimateTransactionFee",
|
|
816
816
|
}
|
|
817
817
|
|
|
818
818
|
return self.api_client.call_api(
|
|
@@ -834,7 +834,7 @@ class TransactionsApi(object):
|
|
|
834
834
|
|
|
835
835
|
@auto_fill
|
|
836
836
|
@validate_arguments
|
|
837
|
-
def create_transfer_estimate_fee(self, estimate_transfer_transaction_fee_request : Annotated[EstimateTransferTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], **kwargs) ->
|
|
837
|
+
def create_transfer_estimate_fee(self, estimate_transfer_transaction_fee_request : Annotated[EstimateTransferTransactionFeeRequest, Field(..., description="Estimate transaction fee request")], **kwargs) -> EstimateTransactionFee: # noqa: E501
|
|
838
838
|
"""Estimate fee for a transfer transaction # noqa: E501
|
|
839
839
|
|
|
840
840
|
Estimates gas fees that will be incurred for a transfer transaction; given its amount, blockchain, and token. # noqa: E501
|
|
@@ -855,7 +855,7 @@ class TransactionsApi(object):
|
|
|
855
855
|
:return: Returns the result object.
|
|
856
856
|
If the method is called asynchronously,
|
|
857
857
|
returns the request thread.
|
|
858
|
-
:rtype:
|
|
858
|
+
:rtype: EstimateTransactionFee
|
|
859
859
|
"""
|
|
860
860
|
kwargs['_return_http_data_only'] = True
|
|
861
861
|
if '_preload_content' in kwargs:
|
|
@@ -898,7 +898,7 @@ class TransactionsApi(object):
|
|
|
898
898
|
:return: Returns the result object.
|
|
899
899
|
If the method is called asynchronously,
|
|
900
900
|
returns the request thread.
|
|
901
|
-
:rtype: tuple(
|
|
901
|
+
:rtype: tuple(EstimateTransactionFee, status_code(int), headers(HTTPHeaderDict))
|
|
902
902
|
"""
|
|
903
903
|
|
|
904
904
|
_params = locals()
|
|
@@ -960,7 +960,7 @@ class TransactionsApi(object):
|
|
|
960
960
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
961
961
|
|
|
962
962
|
_response_types_map = {
|
|
963
|
-
'200': "
|
|
963
|
+
'200': "EstimateTransactionFee",
|
|
964
964
|
}
|
|
965
965
|
|
|
966
966
|
return self.api_client.call_api(
|
|
@@ -982,7 +982,7 @@ class TransactionsApi(object):
|
|
|
982
982
|
|
|
983
983
|
@auto_fill
|
|
984
984
|
@validate_arguments
|
|
985
|
-
def create_validate_address(self, validate_address_request : Annotated[ValidateAddressRequest, Field(..., description="Validate address request")], **kwargs) ->
|
|
985
|
+
def create_validate_address(self, validate_address_request : Annotated[ValidateAddressRequest, Field(..., description="Validate address request")], **kwargs) -> ValidateAddress: # noqa: E501
|
|
986
986
|
"""Validate an address # noqa: E501
|
|
987
987
|
|
|
988
988
|
Confirms that a specified address is valid for a given token on a certain blockchain. # noqa: E501
|
|
@@ -1003,7 +1003,7 @@ class TransactionsApi(object):
|
|
|
1003
1003
|
:return: Returns the result object.
|
|
1004
1004
|
If the method is called asynchronously,
|
|
1005
1005
|
returns the request thread.
|
|
1006
|
-
:rtype:
|
|
1006
|
+
:rtype: ValidateAddress
|
|
1007
1007
|
"""
|
|
1008
1008
|
kwargs['_return_http_data_only'] = True
|
|
1009
1009
|
if '_preload_content' in kwargs:
|
|
@@ -1046,7 +1046,7 @@ class TransactionsApi(object):
|
|
|
1046
1046
|
:return: Returns the result object.
|
|
1047
1047
|
If the method is called asynchronously,
|
|
1048
1048
|
returns the request thread.
|
|
1049
|
-
:rtype: tuple(
|
|
1049
|
+
:rtype: tuple(ValidateAddress, status_code(int), headers(HTTPHeaderDict))
|
|
1050
1050
|
"""
|
|
1051
1051
|
|
|
1052
1052
|
_params = locals()
|
|
@@ -1108,7 +1108,7 @@ class TransactionsApi(object):
|
|
|
1108
1108
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
1109
1109
|
|
|
1110
1110
|
_response_types_map = {
|
|
1111
|
-
'200': "
|
|
1111
|
+
'200': "ValidateAddress",
|
|
1112
1112
|
}
|
|
1113
1113
|
|
|
1114
1114
|
return self.api_client.call_api(
|
|
@@ -1130,7 +1130,7 @@ class TransactionsApi(object):
|
|
|
1130
1130
|
|
|
1131
1131
|
@auto_fill
|
|
1132
1132
|
@validate_arguments
|
|
1133
|
-
def get_transaction(self, id : Annotated[StrictStr, Field(..., description="Transaction id")], tx_type : Annotated[Optional[StrictStr], Field(description="Filter by on the transaction type.")] = None, **kwargs) ->
|
|
1133
|
+
def get_transaction(self, id : Annotated[StrictStr, Field(..., description="Transaction id")], tx_type : Annotated[Optional[StrictStr], Field(description="Filter by on the transaction type.")] = None, **kwargs) -> TransactionResponse: # noqa: E501
|
|
1134
1134
|
"""Get a transaction # noqa: E501
|
|
1135
1135
|
|
|
1136
1136
|
Retrieves info for a single transaction using it's unique identifier. # noqa: E501
|
|
@@ -1153,7 +1153,7 @@ class TransactionsApi(object):
|
|
|
1153
1153
|
:return: Returns the result object.
|
|
1154
1154
|
If the method is called asynchronously,
|
|
1155
1155
|
returns the request thread.
|
|
1156
|
-
:rtype:
|
|
1156
|
+
:rtype: TransactionResponse
|
|
1157
1157
|
"""
|
|
1158
1158
|
kwargs['_return_http_data_only'] = True
|
|
1159
1159
|
if '_preload_content' in kwargs:
|
|
@@ -1198,7 +1198,7 @@ class TransactionsApi(object):
|
|
|
1198
1198
|
:return: Returns the result object.
|
|
1199
1199
|
If the method is called asynchronously,
|
|
1200
1200
|
returns the request thread.
|
|
1201
|
-
:rtype: tuple(
|
|
1201
|
+
:rtype: tuple(TransactionResponse, status_code(int), headers(HTTPHeaderDict))
|
|
1202
1202
|
"""
|
|
1203
1203
|
|
|
1204
1204
|
_params = locals()
|
|
@@ -1257,7 +1257,7 @@ class TransactionsApi(object):
|
|
|
1257
1257
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
1258
1258
|
|
|
1259
1259
|
_response_types_map = {
|
|
1260
|
-
'200': "
|
|
1260
|
+
'200': "TransactionResponse",
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
1263
|
return self.api_client.call_api(
|
|
@@ -1279,7 +1279,7 @@ class TransactionsApi(object):
|
|
|
1279
1279
|
|
|
1280
1280
|
@auto_fill
|
|
1281
1281
|
@validate_arguments
|
|
1282
|
-
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 on the operation of the transaction.")] = None, state : Annotated[Optional[StrictStr], Field(description="Filter by
|
|
1282
|
+
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 on the operation of the transaction.")] = None, state : Annotated[Optional[StrictStr], 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[StrictStr], Field(description="Filter by on the transaction type.")] = None, wallet_ids : Annotated[Optional[StrictStr], Field(description="Filter by the wallet IDs of the transaction.")] = 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
|
|
1283
1283
|
"""List transactions # noqa: E501
|
|
1284
1284
|
|
|
1285
1285
|
Lists all transactions. Includes details such as status, source/destination, and transaction hash. # noqa: E501
|
|
@@ -1299,7 +1299,7 @@ class TransactionsApi(object):
|
|
|
1299
1299
|
:type include_all: bool
|
|
1300
1300
|
:param operation: Filter by on the operation of the transaction.
|
|
1301
1301
|
:type operation: str
|
|
1302
|
-
:param state: Filter by
|
|
1302
|
+
:param state: Filter by the state of the transaction.
|
|
1303
1303
|
:type state: str
|
|
1304
1304
|
:param tx_hash: Filter on the transaction hash of the transaction.
|
|
1305
1305
|
:type tx_hash: str
|
|
@@ -1326,7 +1326,7 @@ class TransactionsApi(object):
|
|
|
1326
1326
|
:return: Returns the result object.
|
|
1327
1327
|
If the method is called asynchronously,
|
|
1328
1328
|
returns the request thread.
|
|
1329
|
-
:rtype:
|
|
1329
|
+
:rtype: Transactions
|
|
1330
1330
|
"""
|
|
1331
1331
|
kwargs['_return_http_data_only'] = True
|
|
1332
1332
|
if '_preload_content' in kwargs:
|
|
@@ -1335,7 +1335,7 @@ class TransactionsApi(object):
|
|
|
1335
1335
|
|
|
1336
1336
|
@auto_fill
|
|
1337
1337
|
@validate_arguments
|
|
1338
|
-
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 on the operation of the transaction.")] = None, state : Annotated[Optional[StrictStr], Field(description="Filter by
|
|
1338
|
+
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 on the operation of the transaction.")] = None, state : Annotated[Optional[StrictStr], 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[StrictStr], Field(description="Filter by on the transaction type.")] = None, wallet_ids : Annotated[Optional[StrictStr], Field(description="Filter by the wallet IDs of the transaction.")] = 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
|
|
1339
1339
|
"""List transactions # noqa: E501
|
|
1340
1340
|
|
|
1341
1341
|
Lists all transactions. Includes details such as status, source/destination, and transaction hash. # noqa: E501
|
|
@@ -1355,7 +1355,7 @@ class TransactionsApi(object):
|
|
|
1355
1355
|
:type include_all: bool
|
|
1356
1356
|
:param operation: Filter by on the operation of the transaction.
|
|
1357
1357
|
:type operation: str
|
|
1358
|
-
:param state: Filter by
|
|
1358
|
+
:param state: Filter by the state of the transaction.
|
|
1359
1359
|
:type state: str
|
|
1360
1360
|
:param tx_hash: Filter on the transaction hash of the transaction.
|
|
1361
1361
|
:type tx_hash: str
|
|
@@ -1395,7 +1395,7 @@ class TransactionsApi(object):
|
|
|
1395
1395
|
:return: Returns the result object.
|
|
1396
1396
|
If the method is called asynchronously,
|
|
1397
1397
|
returns the request thread.
|
|
1398
|
-
:rtype: tuple(
|
|
1398
|
+
:rtype: tuple(Transactions, status_code(int), headers(HTTPHeaderDict))
|
|
1399
1399
|
"""
|
|
1400
1400
|
|
|
1401
1401
|
_params = locals()
|
|
@@ -1508,7 +1508,7 @@ class TransactionsApi(object):
|
|
|
1508
1508
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
1509
1509
|
|
|
1510
1510
|
_response_types_map = {
|
|
1511
|
-
'200': "
|
|
1511
|
+
'200': "Transactions",
|
|
1512
1512
|
}
|
|
1513
1513
|
|
|
1514
1514
|
return self.api_client.call_api(
|
|
@@ -24,7 +24,7 @@ from typing import Optional
|
|
|
24
24
|
|
|
25
25
|
from circle.web3.developer_controlled_wallets.models.create_wallet_set_request import CreateWalletSetRequest
|
|
26
26
|
from circle.web3.developer_controlled_wallets.models.update_wallet_set_request import UpdateWalletSetRequest
|
|
27
|
-
from circle.web3.developer_controlled_wallets.models.
|
|
27
|
+
from circle.web3.developer_controlled_wallets.models.wallet_set_response import WalletSetResponse
|
|
28
28
|
from circle.web3.developer_controlled_wallets.models.wallet_sets import WalletSets
|
|
29
29
|
|
|
30
30
|
from circle.web3.developer_controlled_wallets.api_client import ApiClient
|
|
@@ -65,7 +65,7 @@ class WalletSetsApi(object):
|
|
|
65
65
|
|
|
66
66
|
@auto_fill
|
|
67
67
|
@validate_arguments
|
|
68
|
-
def create_wallet_set(self, create_wallet_set_request : Annotated[CreateWalletSetRequest, Field(..., description="Schema for the request payload to create a new wallet set.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) ->
|
|
68
|
+
def create_wallet_set(self, create_wallet_set_request : Annotated[CreateWalletSetRequest, Field(..., description="Schema for the request payload to create a new wallet set.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> WalletSetResponse: # noqa: E501
|
|
69
69
|
"""Create a new wallet set # noqa: E501
|
|
70
70
|
|
|
71
71
|
Create a developer controlled wallet set. # noqa: E501
|
|
@@ -88,7 +88,7 @@ class WalletSetsApi(object):
|
|
|
88
88
|
:return: Returns the result object.
|
|
89
89
|
If the method is called asynchronously,
|
|
90
90
|
returns the request thread.
|
|
91
|
-
:rtype:
|
|
91
|
+
:rtype: WalletSetResponse
|
|
92
92
|
"""
|
|
93
93
|
kwargs['_return_http_data_only'] = True
|
|
94
94
|
if '_preload_content' in kwargs:
|
|
@@ -133,7 +133,7 @@ class WalletSetsApi(object):
|
|
|
133
133
|
:return: Returns the result object.
|
|
134
134
|
If the method is called asynchronously,
|
|
135
135
|
returns the request thread.
|
|
136
|
-
:rtype: tuple(
|
|
136
|
+
:rtype: tuple(WalletSetResponse, status_code(int), headers(HTTPHeaderDict))
|
|
137
137
|
"""
|
|
138
138
|
|
|
139
139
|
_params = locals()
|
|
@@ -199,8 +199,8 @@ class WalletSetsApi(object):
|
|
|
199
199
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
200
200
|
|
|
201
201
|
_response_types_map = {
|
|
202
|
-
'200': "
|
|
203
|
-
'201': "
|
|
202
|
+
'200': "WalletSetResponse",
|
|
203
|
+
'201': "WalletSetResponse",
|
|
204
204
|
'400': "BadRequestResponse",
|
|
205
205
|
'401': "NotAuthorizedResponse",
|
|
206
206
|
}
|
|
@@ -224,7 +224,7 @@ class WalletSetsApi(object):
|
|
|
224
224
|
|
|
225
225
|
@auto_fill
|
|
226
226
|
@validate_arguments
|
|
227
|
-
def get_wallet_set(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier (UUID v4) of the resource.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) ->
|
|
227
|
+
def get_wallet_set(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier (UUID v4) of the resource.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> WalletSetResponse: # noqa: E501
|
|
228
228
|
"""Get a wallet set # noqa: E501
|
|
229
229
|
|
|
230
230
|
Retrieve an existing wallet set. # noqa: E501
|
|
@@ -247,7 +247,7 @@ class WalletSetsApi(object):
|
|
|
247
247
|
:return: Returns the result object.
|
|
248
248
|
If the method is called asynchronously,
|
|
249
249
|
returns the request thread.
|
|
250
|
-
:rtype:
|
|
250
|
+
:rtype: WalletSetResponse
|
|
251
251
|
"""
|
|
252
252
|
kwargs['_return_http_data_only'] = True
|
|
253
253
|
if '_preload_content' in kwargs:
|
|
@@ -292,7 +292,7 @@ class WalletSetsApi(object):
|
|
|
292
292
|
:return: Returns the result object.
|
|
293
293
|
If the method is called asynchronously,
|
|
294
294
|
returns the request thread.
|
|
295
|
-
:rtype: tuple(
|
|
295
|
+
:rtype: tuple(WalletSetResponse, status_code(int), headers(HTTPHeaderDict))
|
|
296
296
|
"""
|
|
297
297
|
|
|
298
298
|
_params = locals()
|
|
@@ -351,7 +351,7 @@ class WalletSetsApi(object):
|
|
|
351
351
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
352
352
|
|
|
353
353
|
_response_types_map = {
|
|
354
|
-
'200': "
|
|
354
|
+
'200': "WalletSetResponse",
|
|
355
355
|
'401': "NotAuthorizedResponse",
|
|
356
356
|
'404': "NotFoundResponse",
|
|
357
357
|
}
|
|
@@ -563,7 +563,7 @@ class WalletSetsApi(object):
|
|
|
563
563
|
|
|
564
564
|
@auto_fill
|
|
565
565
|
@validate_arguments
|
|
566
|
-
def update_wallet_set(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier (UUID v4) of the resource.")], update_wallet_set_request : Annotated[UpdateWalletSetRequest, Field(..., description="Schema for the request payload to update an existing wallet set.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) ->
|
|
566
|
+
def update_wallet_set(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier (UUID v4) of the resource.")], update_wallet_set_request : Annotated[UpdateWalletSetRequest, Field(..., description="Schema for the request payload to update an existing wallet set.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> WalletSetResponse: # noqa: E501
|
|
567
567
|
"""Update a wallet set # noqa: E501
|
|
568
568
|
|
|
569
569
|
Update the name of the wallet set # noqa: E501
|
|
@@ -588,7 +588,7 @@ class WalletSetsApi(object):
|
|
|
588
588
|
:return: Returns the result object.
|
|
589
589
|
If the method is called asynchronously,
|
|
590
590
|
returns the request thread.
|
|
591
|
-
:rtype:
|
|
591
|
+
:rtype: WalletSetResponse
|
|
592
592
|
"""
|
|
593
593
|
kwargs['_return_http_data_only'] = True
|
|
594
594
|
if '_preload_content' in kwargs:
|
|
@@ -635,7 +635,7 @@ class WalletSetsApi(object):
|
|
|
635
635
|
:return: Returns the result object.
|
|
636
636
|
If the method is called asynchronously,
|
|
637
637
|
returns the request thread.
|
|
638
|
-
:rtype: tuple(
|
|
638
|
+
:rtype: tuple(WalletSetResponse, status_code(int), headers(HTTPHeaderDict))
|
|
639
639
|
"""
|
|
640
640
|
|
|
641
641
|
_params = locals()
|
|
@@ -705,7 +705,7 @@ class WalletSetsApi(object):
|
|
|
705
705
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
706
706
|
|
|
707
707
|
_response_types_map = {
|
|
708
|
-
'200': "
|
|
708
|
+
'200': "WalletSetResponse",
|
|
709
709
|
'400': "BadRequestResponse",
|
|
710
710
|
'401': "NotAuthorizedResponse",
|
|
711
711
|
'404': "NotFoundResponse",
|