circle-developer-controlled-wallets 2.1.0__py3-none-any.whl → 4.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 +5 -3
- circle/web3/developer_controlled_wallets/api/signing_api.py +158 -2
- circle/web3/developer_controlled_wallets/api/token_lookup_api.py +7 -4
- circle/web3/developer_controlled_wallets/api/transactions_api.py +58 -31
- circle/web3/developer_controlled_wallets/api/wallet_sets_api.py +8 -8
- circle/web3/developer_controlled_wallets/api/wallets_api.py +29 -22
- 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 +4 -2
- circle/web3/developer_controlled_wallets/models/blockchain.py +5 -0
- circle/web3/developer_controlled_wallets/models/{estimate_contract_execution_transaction_fee_request_blockchain.py → contract_execution_blockchain.py} +5 -5
- circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer.py +3 -3
- circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer_request.py +1 -1
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request.py +3 -3
- circle/web3/developer_controlled_wallets/models/create_wallet_set_request.py +1 -1
- circle/web3/developer_controlled_wallets/models/eoa_wallet.py +5 -3
- circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request.py +4 -4
- circle/web3/developer_controlled_wallets/models/estimate_transfer_transaction_fee_request.py +3 -3
- circle/web3/developer_controlled_wallets/models/sca_wallet.py +5 -3
- circle/web3/developer_controlled_wallets/models/sign_delegate_action_request.py +87 -0
- circle/web3/developer_controlled_wallets/models/sign_delegate_action_response.py +87 -0
- circle/web3/developer_controlled_wallets/models/{create_contract_execution_transaction_for_developer_data.py → sign_delegate_action_response_data.py} +13 -14
- circle/web3/developer_controlled_wallets/models/sign_transaction_request.py +4 -2
- circle/web3/developer_controlled_wallets/models/sign_transaction_response_data.py +7 -5
- circle/web3/developer_controlled_wallets/models/signature_response_data.py +1 -1
- circle/web3/developer_controlled_wallets/models/token.py +1 -1
- circle/web3/developer_controlled_wallets/models/token_blockchain.py +2 -1
- circle/web3/developer_controlled_wallets/models/transaction.py +4 -4
- circle/web3/developer_controlled_wallets/models/transaction_state.py +5 -5
- circle/web3/developer_controlled_wallets/models/update_wallet_request.py +1 -1
- circle/web3/developer_controlled_wallets/models/update_wallet_set_request.py +2 -2
- circle/web3/developer_controlled_wallets/models/validate_address_request.py +1 -1
- circle/web3/developer_controlled_wallets/models/wallet.py +6 -4
- circle/web3/developer_controlled_wallets/models/wallet_metadata.py +1 -1
- {circle_developer_controlled_wallets-2.1.0.dist-info → circle_developer_controlled_wallets-4.0.0.dist-info}/METADATA +7 -7
- {circle_developer_controlled_wallets-2.1.0.dist-info → circle_developer_controlled_wallets-4.0.0.dist-info}/RECORD +38 -36
- {circle_developer_controlled_wallets-2.1.0.dist-info → circle_developer_controlled_wallets-4.0.0.dist-info}/WHEEL +1 -1
- {circle_developer_controlled_wallets-2.1.0.dist-info → circle_developer_controlled_wallets-4.0.0.dist-info}/top_level.txt +0 -0
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
""" # noqa: E501
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
__version__ = "
|
|
13
|
+
__version__ = "4.0.0"
|
|
14
14
|
|
|
15
15
|
# import apis into sdk package
|
|
16
16
|
from circle.web3.developer_controlled_wallets.api.signing_api import SigningApi
|
|
@@ -44,8 +44,8 @@ from circle.web3.developer_controlled_wallets.models.base_screening_decision imp
|
|
|
44
44
|
from circle.web3.developer_controlled_wallets.models.blockchain import Blockchain
|
|
45
45
|
from circle.web3.developer_controlled_wallets.models.cancel_transaction_for_developer import CancelTransactionForDeveloper
|
|
46
46
|
from circle.web3.developer_controlled_wallets.models.cancel_transaction_for_developer_request import CancelTransactionForDeveloperRequest
|
|
47
|
+
from circle.web3.developer_controlled_wallets.models.contract_execution_blockchain import ContractExecutionBlockchain
|
|
47
48
|
from circle.web3.developer_controlled_wallets.models.create_contract_execution_transaction_for_developer import CreateContractExecutionTransactionForDeveloper
|
|
48
|
-
from circle.web3.developer_controlled_wallets.models.create_contract_execution_transaction_for_developer_data import CreateContractExecutionTransactionForDeveloperData
|
|
49
49
|
from circle.web3.developer_controlled_wallets.models.create_contract_execution_transaction_for_developer_request import CreateContractExecutionTransactionForDeveloperRequest
|
|
50
50
|
from circle.web3.developer_controlled_wallets.models.create_transfer_transaction_for_developer_request import CreateTransferTransactionForDeveloperRequest
|
|
51
51
|
from circle.web3.developer_controlled_wallets.models.create_transfer_transaction_for_developer_response import CreateTransferTransactionForDeveloperResponse
|
|
@@ -58,7 +58,6 @@ from circle.web3.developer_controlled_wallets.models.eoa_wallet import EOAWallet
|
|
|
58
58
|
from circle.web3.developer_controlled_wallets.models.end_user_wallet_set import EndUserWalletSet
|
|
59
59
|
from circle.web3.developer_controlled_wallets.models.error import Error
|
|
60
60
|
from circle.web3.developer_controlled_wallets.models.estimate_contract_execution_transaction_fee_request import EstimateContractExecutionTransactionFeeRequest
|
|
61
|
-
from circle.web3.developer_controlled_wallets.models.estimate_contract_execution_transaction_fee_request_blockchain import EstimateContractExecutionTransactionFeeRequestBlockchain
|
|
62
61
|
from circle.web3.developer_controlled_wallets.models.estimate_transaction_fee import EstimateTransactionFee
|
|
63
62
|
from circle.web3.developer_controlled_wallets.models.estimate_transaction_fee_data import EstimateTransactionFeeData
|
|
64
63
|
from circle.web3.developer_controlled_wallets.models.estimate_transfer_transaction_fee_request import EstimateTransferTransactionFeeRequest
|
|
@@ -75,6 +74,9 @@ from circle.web3.developer_controlled_wallets.models.risk_score import RiskScore
|
|
|
75
74
|
from circle.web3.developer_controlled_wallets.models.risk_signal import RiskSignal
|
|
76
75
|
from circle.web3.developer_controlled_wallets.models.risk_type import RiskType
|
|
77
76
|
from circle.web3.developer_controlled_wallets.models.sca_wallet import SCAWallet
|
|
77
|
+
from circle.web3.developer_controlled_wallets.models.sign_delegate_action_request import SignDelegateActionRequest
|
|
78
|
+
from circle.web3.developer_controlled_wallets.models.sign_delegate_action_response import SignDelegateActionResponse
|
|
79
|
+
from circle.web3.developer_controlled_wallets.models.sign_delegate_action_response_data import SignDelegateActionResponseData
|
|
78
80
|
from circle.web3.developer_controlled_wallets.models.sign_message_request import SignMessageRequest
|
|
79
81
|
from circle.web3.developer_controlled_wallets.models.sign_transaction_request import SignTransactionRequest
|
|
80
82
|
from circle.web3.developer_controlled_wallets.models.sign_transaction_response import SignTransactionResponse
|
|
@@ -18,6 +18,8 @@ from typing_extensions import Annotated
|
|
|
18
18
|
|
|
19
19
|
from pydantic import Field
|
|
20
20
|
|
|
21
|
+
from circle.web3.developer_controlled_wallets.models.sign_delegate_action_request import SignDelegateActionRequest
|
|
22
|
+
from circle.web3.developer_controlled_wallets.models.sign_delegate_action_response import SignDelegateActionResponse
|
|
21
23
|
from circle.web3.developer_controlled_wallets.models.sign_message_request import SignMessageRequest
|
|
22
24
|
from circle.web3.developer_controlled_wallets.models.sign_transaction_request import SignTransactionRequest
|
|
23
25
|
from circle.web3.developer_controlled_wallets.models.sign_transaction_response import SignTransactionResponse
|
|
@@ -60,6 +62,157 @@ class SigningApi(object):
|
|
|
60
62
|
api_client = ApiClient.get_default()
|
|
61
63
|
self.api_client = api_client
|
|
62
64
|
|
|
65
|
+
@auto_fill
|
|
66
|
+
@validate_arguments
|
|
67
|
+
def sign_delegate_action(self, sign_delegate_action_request : Annotated[SignDelegateActionRequest, Field(..., description="Schema for the request payload to sign a delegate action.")], **kwargs) -> SignDelegateActionResponse: # noqa: E501
|
|
68
|
+
"""Sign delegate action # noqa: E501
|
|
69
|
+
|
|
70
|
+
Sign a delegate action from a specific developer-controlled wallet. NOTE: This endpoint is only available for NEAR and NEAR-TESTNET. # noqa: E501
|
|
71
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
72
|
+
asynchronous HTTP request, please pass async_req=True
|
|
73
|
+
|
|
74
|
+
>>> thread = api.sign_delegate_action(sign_delegate_action_request, async_req=True)
|
|
75
|
+
>>> result = thread.get()
|
|
76
|
+
|
|
77
|
+
:param sign_delegate_action_request: Schema for the request payload to sign a delegate action. (required)
|
|
78
|
+
:type sign_delegate_action_request: SignDelegateActionRequest
|
|
79
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
80
|
+
:type async_req: bool, optional
|
|
81
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
82
|
+
number provided, it will be total request
|
|
83
|
+
timeout. It can also be a pair (tuple) of
|
|
84
|
+
(connection, read) timeouts.
|
|
85
|
+
:return: Returns the result object.
|
|
86
|
+
If the method is called asynchronously,
|
|
87
|
+
returns the request thread.
|
|
88
|
+
:rtype: SignDelegateActionResponse
|
|
89
|
+
"""
|
|
90
|
+
kwargs['_return_http_data_only'] = True
|
|
91
|
+
if '_preload_content' in kwargs:
|
|
92
|
+
raise ValueError("Error! Please call the sign_delegate_action_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
93
|
+
return self.sign_delegate_action_with_http_info(sign_delegate_action_request, **kwargs) # noqa: E501
|
|
94
|
+
|
|
95
|
+
@auto_fill
|
|
96
|
+
@validate_arguments
|
|
97
|
+
def sign_delegate_action_with_http_info(self, sign_delegate_action_request : Annotated[SignDelegateActionRequest, Field(..., description="Schema for the request payload to sign a delegate action.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
98
|
+
"""Sign delegate action # noqa: E501
|
|
99
|
+
|
|
100
|
+
Sign a delegate action from a specific developer-controlled wallet. NOTE: This endpoint is only available for NEAR and NEAR-TESTNET. # noqa: E501
|
|
101
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
102
|
+
asynchronous HTTP request, please pass async_req=True
|
|
103
|
+
|
|
104
|
+
>>> thread = api.sign_delegate_action_with_http_info(sign_delegate_action_request, async_req=True)
|
|
105
|
+
>>> result = thread.get()
|
|
106
|
+
|
|
107
|
+
:param sign_delegate_action_request: Schema for the request payload to sign a delegate action. (required)
|
|
108
|
+
:type sign_delegate_action_request: SignDelegateActionRequest
|
|
109
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
110
|
+
:type async_req: bool, optional
|
|
111
|
+
:param _preload_content: if False, the ApiResponse.data will
|
|
112
|
+
be set to none and raw_data will store the
|
|
113
|
+
HTTP response body without reading/decoding.
|
|
114
|
+
Default is True.
|
|
115
|
+
:type _preload_content: bool, optional
|
|
116
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
|
117
|
+
object with status code, headers, etc
|
|
118
|
+
:type _return_http_data_only: bool, optional
|
|
119
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
120
|
+
number provided, it will be total request
|
|
121
|
+
timeout. It can also be a pair (tuple) of
|
|
122
|
+
(connection, read) timeouts.
|
|
123
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
124
|
+
request; this effectively ignores the authentication
|
|
125
|
+
in the spec for a single request.
|
|
126
|
+
:type _request_auth: dict, optional
|
|
127
|
+
:type _content_type: string, optional: force content-type for the request
|
|
128
|
+
:return: Returns the result object.
|
|
129
|
+
If the method is called asynchronously,
|
|
130
|
+
returns the request thread.
|
|
131
|
+
:rtype: tuple(SignDelegateActionResponse, status_code(int), headers(HTTPHeaderDict))
|
|
132
|
+
"""
|
|
133
|
+
|
|
134
|
+
_params = locals()
|
|
135
|
+
|
|
136
|
+
_all_params = [
|
|
137
|
+
'sign_delegate_action_request'
|
|
138
|
+
]
|
|
139
|
+
_all_params.extend(
|
|
140
|
+
[
|
|
141
|
+
'async_req',
|
|
142
|
+
'_return_http_data_only',
|
|
143
|
+
'_preload_content',
|
|
144
|
+
'_request_timeout',
|
|
145
|
+
'_request_auth',
|
|
146
|
+
'_content_type',
|
|
147
|
+
'_headers'
|
|
148
|
+
]
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
# validate the arguments
|
|
152
|
+
for _key, _val in _params['kwargs'].items():
|
|
153
|
+
if _key not in _all_params:
|
|
154
|
+
raise ApiTypeError(
|
|
155
|
+
"Got an unexpected keyword argument '%s'"
|
|
156
|
+
" to method sign_delegate_action" % _key
|
|
157
|
+
)
|
|
158
|
+
_params[_key] = _val
|
|
159
|
+
del _params['kwargs']
|
|
160
|
+
|
|
161
|
+
_collection_formats = {}
|
|
162
|
+
|
|
163
|
+
# process the path parameters
|
|
164
|
+
_path_params = {}
|
|
165
|
+
|
|
166
|
+
# process the query parameters
|
|
167
|
+
_query_params = []
|
|
168
|
+
# process the header parameters
|
|
169
|
+
_header_params = dict(_params.get('_headers', {}))
|
|
170
|
+
# process the form parameters
|
|
171
|
+
_form_params = []
|
|
172
|
+
_files = {}
|
|
173
|
+
# process the body parameter
|
|
174
|
+
_body_params = None
|
|
175
|
+
if _params['sign_delegate_action_request'] is not None:
|
|
176
|
+
_body_params = _params['sign_delegate_action_request']
|
|
177
|
+
|
|
178
|
+
# set the HTTP header `Accept`
|
|
179
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
180
|
+
['application/json']) # noqa: E501
|
|
181
|
+
|
|
182
|
+
# set the HTTP header `Content-Type`
|
|
183
|
+
_content_types_list = _params.get('_content_type',
|
|
184
|
+
self.api_client.select_header_content_type(
|
|
185
|
+
['application/json']))
|
|
186
|
+
if _content_types_list:
|
|
187
|
+
_header_params['Content-Type'] = _content_types_list
|
|
188
|
+
|
|
189
|
+
# authentication setting
|
|
190
|
+
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
191
|
+
|
|
192
|
+
_response_types_map = {
|
|
193
|
+
'200': "SignDelegateActionResponse",
|
|
194
|
+
'400': "BadRequestResponse",
|
|
195
|
+
'401': "NotAuthorizedResponse",
|
|
196
|
+
'404': "NotFoundResponse",
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
return self.api_client.call_api(
|
|
200
|
+
'/v1/w3s/developer/sign/delegateAction', 'POST',
|
|
201
|
+
_path_params,
|
|
202
|
+
_query_params,
|
|
203
|
+
_header_params,
|
|
204
|
+
body=_body_params,
|
|
205
|
+
post_params=_form_params,
|
|
206
|
+
files=_files,
|
|
207
|
+
response_types_map=_response_types_map,
|
|
208
|
+
auth_settings=_auth_settings,
|
|
209
|
+
async_req=_params.get('async_req'),
|
|
210
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
|
211
|
+
_preload_content=_params.get('_preload_content', True),
|
|
212
|
+
_request_timeout=_params.get('_request_timeout'),
|
|
213
|
+
collection_formats=_collection_formats,
|
|
214
|
+
_request_auth=_params.get('_request_auth'))
|
|
215
|
+
|
|
63
216
|
@auto_fill
|
|
64
217
|
@validate_arguments
|
|
65
218
|
def sign_message(self, sign_message_request : Annotated[SignMessageRequest, Field(..., description="Schema for the request payload to sign a message.")], **kwargs) -> SignatureResponse: # noqa: E501
|
|
@@ -191,6 +344,7 @@ class SigningApi(object):
|
|
|
191
344
|
'200': "SignatureResponse",
|
|
192
345
|
'400': "BadRequestResponse",
|
|
193
346
|
'401': "NotAuthorizedResponse",
|
|
347
|
+
'404': "NotFoundResponse",
|
|
194
348
|
}
|
|
195
349
|
|
|
196
350
|
return self.api_client.call_api(
|
|
@@ -215,7 +369,7 @@ class SigningApi(object):
|
|
|
215
369
|
def sign_transaction(self, sign_transaction_request : Annotated[SignTransactionRequest, Field(..., description="Schema for the request payload to sign a transaction.")], **kwargs) -> SignTransactionResponse: # noqa: E501
|
|
216
370
|
"""Sign transaction # noqa: E501
|
|
217
371
|
|
|
218
|
-
Sign a transaction from a specific developer-controlled wallet. NOTE:
|
|
372
|
+
Sign a transaction from a specific developer-controlled wallet. NOTE: This endpoint is only available for the following chains: `SOL`, `SOL-DEVNET`, `NEAR`, `NEAR-TESTNET`, `EVM`, `EVM-TESTNET`. Each chain defines its own standard, please refer to [Signing APIs doc](https://learn.circle.com/w3s/signing-apis). # noqa: E501
|
|
219
373
|
This method makes a synchronous HTTP request by default. To make an
|
|
220
374
|
asynchronous HTTP request, please pass async_req=True
|
|
221
375
|
|
|
@@ -245,7 +399,7 @@ class SigningApi(object):
|
|
|
245
399
|
def sign_transaction_with_http_info(self, sign_transaction_request : Annotated[SignTransactionRequest, Field(..., description="Schema for the request payload to sign a transaction.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
246
400
|
"""Sign transaction # noqa: E501
|
|
247
401
|
|
|
248
|
-
Sign a transaction from a specific developer-controlled wallet. NOTE:
|
|
402
|
+
Sign a transaction from a specific developer-controlled wallet. NOTE: This endpoint is only available for the following chains: `SOL`, `SOL-DEVNET`, `NEAR`, `NEAR-TESTNET`, `EVM`, `EVM-TESTNET`. Each chain defines its own standard, please refer to [Signing APIs doc](https://learn.circle.com/w3s/signing-apis). # noqa: E501
|
|
249
403
|
This method makes a synchronous HTTP request by default. To make an
|
|
250
404
|
asynchronous HTTP request, please pass async_req=True
|
|
251
405
|
|
|
@@ -341,6 +495,7 @@ class SigningApi(object):
|
|
|
341
495
|
'200': "SignTransactionResponse",
|
|
342
496
|
'400': "BadRequestResponse",
|
|
343
497
|
'401': "NotAuthorizedResponse",
|
|
498
|
+
'404': "NotFoundResponse",
|
|
344
499
|
}
|
|
345
500
|
|
|
346
501
|
return self.api_client.call_api(
|
|
@@ -491,6 +646,7 @@ class SigningApi(object):
|
|
|
491
646
|
'200': "SignatureResponse",
|
|
492
647
|
'400': "BadRequestResponse",
|
|
493
648
|
'401': "NotAuthorizedResponse",
|
|
649
|
+
'404': "NotFoundResponse",
|
|
494
650
|
}
|
|
495
651
|
|
|
496
652
|
return self.api_client.call_api(
|
|
@@ -58,7 +58,7 @@ class TokenLookupApi(object):
|
|
|
58
58
|
|
|
59
59
|
@auto_fill
|
|
60
60
|
@validate_arguments
|
|
61
|
-
def get_token_id(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier
|
|
61
|
+
def get_token_id(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], **kwargs) -> TokenResponse: # noqa: E501
|
|
62
62
|
"""Get token details # noqa: E501
|
|
63
63
|
|
|
64
64
|
Fetches details of a specific token given its unique identifier. Every token in your network of wallets has a UUID associated with it, regardless of whether it's already recognized or was added as a monitored token. # noqa: E501
|
|
@@ -68,7 +68,7 @@ class TokenLookupApi(object):
|
|
|
68
68
|
>>> thread = api.get_token_id(id, async_req=True)
|
|
69
69
|
>>> result = thread.get()
|
|
70
70
|
|
|
71
|
-
:param id: The universally unique identifier
|
|
71
|
+
:param id: The universally unique identifier of the resource. (required)
|
|
72
72
|
:type id: str
|
|
73
73
|
:param async_req: Whether to execute the request asynchronously.
|
|
74
74
|
:type async_req: bool, optional
|
|
@@ -88,7 +88,7 @@ class TokenLookupApi(object):
|
|
|
88
88
|
|
|
89
89
|
@auto_fill
|
|
90
90
|
@validate_arguments
|
|
91
|
-
def get_token_id_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier
|
|
91
|
+
def get_token_id_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
92
92
|
"""Get token details # noqa: E501
|
|
93
93
|
|
|
94
94
|
Fetches details of a specific token given its unique identifier. Every token in your network of wallets has a UUID associated with it, regardless of whether it's already recognized or was added as a monitored token. # noqa: E501
|
|
@@ -98,7 +98,7 @@ class TokenLookupApi(object):
|
|
|
98
98
|
>>> thread = api.get_token_id_with_http_info(id, async_req=True)
|
|
99
99
|
>>> result = thread.get()
|
|
100
100
|
|
|
101
|
-
:param id: The universally unique identifier
|
|
101
|
+
:param id: The universally unique identifier of the resource. (required)
|
|
102
102
|
:type id: str
|
|
103
103
|
:param async_req: Whether to execute the request asynchronously.
|
|
104
104
|
:type async_req: bool, optional
|
|
@@ -178,6 +178,9 @@ class TokenLookupApi(object):
|
|
|
178
178
|
|
|
179
179
|
_response_types_map = {
|
|
180
180
|
'200': "TokenResponse",
|
|
181
|
+
'400': "Error",
|
|
182
|
+
'401': "NotAuthorizedResponse",
|
|
183
|
+
'404': "NotFoundResponse",
|
|
181
184
|
}
|
|
182
185
|
|
|
183
186
|
return self.api_client.call_api(
|
|
@@ -36,6 +36,8 @@ from circle.web3.developer_controlled_wallets.models.estimate_contract_execution
|
|
|
36
36
|
from circle.web3.developer_controlled_wallets.models.estimate_transaction_fee import EstimateTransactionFee
|
|
37
37
|
from circle.web3.developer_controlled_wallets.models.estimate_transfer_transaction_fee_request import EstimateTransferTransactionFeeRequest
|
|
38
38
|
from circle.web3.developer_controlled_wallets.models.transaction_response import TransactionResponse
|
|
39
|
+
from circle.web3.developer_controlled_wallets.models.transaction_state import TransactionState
|
|
40
|
+
from circle.web3.developer_controlled_wallets.models.transaction_type import TransactionType
|
|
39
41
|
from circle.web3.developer_controlled_wallets.models.transactions import Transactions
|
|
40
42
|
from circle.web3.developer_controlled_wallets.models.validate_address import ValidateAddress
|
|
41
43
|
from circle.web3.developer_controlled_wallets.models.validate_address_request import ValidateAddressRequest
|
|
@@ -78,17 +80,17 @@ class TransactionsApi(object):
|
|
|
78
80
|
|
|
79
81
|
@auto_fill
|
|
80
82
|
@validate_arguments
|
|
81
|
-
def create_developer_transaction_accelerate(self, id : Annotated[StrictStr, Field(..., description="
|
|
83
|
+
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
|
|
82
84
|
"""Accelerate a transaction # noqa: E501
|
|
83
85
|
|
|
84
|
-
Accelerates a specified
|
|
86
|
+
Accelerates a specified transaction from a developer-controlled wallet. Additional gas fees may be incurred. # noqa: E501
|
|
85
87
|
This method makes a synchronous HTTP request by default. To make an
|
|
86
88
|
asynchronous HTTP request, please pass async_req=True
|
|
87
89
|
|
|
88
90
|
>>> thread = api.create_developer_transaction_accelerate(id, accelerate_transaction_for_developer_request, async_req=True)
|
|
89
91
|
>>> result = thread.get()
|
|
90
92
|
|
|
91
|
-
:param id:
|
|
93
|
+
:param id: The universally unique identifier of the resource. (required)
|
|
92
94
|
:type id: str
|
|
93
95
|
:param accelerate_transaction_for_developer_request: Accelerate transaction for developer request (required)
|
|
94
96
|
:type accelerate_transaction_for_developer_request: AccelerateTransactionForDeveloperRequest
|
|
@@ -110,17 +112,17 @@ class TransactionsApi(object):
|
|
|
110
112
|
|
|
111
113
|
@auto_fill
|
|
112
114
|
@validate_arguments
|
|
113
|
-
def create_developer_transaction_accelerate_with_http_info(self, id : Annotated[StrictStr, Field(..., description="
|
|
115
|
+
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
|
|
114
116
|
"""Accelerate a transaction # noqa: E501
|
|
115
117
|
|
|
116
|
-
Accelerates a specified
|
|
118
|
+
Accelerates a specified transaction from a developer-controlled wallet. Additional gas fees may be incurred. # noqa: E501
|
|
117
119
|
This method makes a synchronous HTTP request by default. To make an
|
|
118
120
|
asynchronous HTTP request, please pass async_req=True
|
|
119
121
|
|
|
120
122
|
>>> thread = api.create_developer_transaction_accelerate_with_http_info(id, accelerate_transaction_for_developer_request, async_req=True)
|
|
121
123
|
>>> result = thread.get()
|
|
122
124
|
|
|
123
|
-
:param id:
|
|
125
|
+
:param id: The universally unique identifier of the resource. (required)
|
|
124
126
|
:type id: str
|
|
125
127
|
:param accelerate_transaction_for_developer_request: Accelerate transaction for developer request (required)
|
|
126
128
|
:type accelerate_transaction_for_developer_request: AccelerateTransactionForDeveloperRequest
|
|
@@ -213,6 +215,9 @@ class TransactionsApi(object):
|
|
|
213
215
|
|
|
214
216
|
_response_types_map = {
|
|
215
217
|
'200': "AccelerateTransactionForDeveloper",
|
|
218
|
+
'400': "Error",
|
|
219
|
+
'401': "NotAuthorizedResponse",
|
|
220
|
+
'404': "NotFoundResponse",
|
|
216
221
|
}
|
|
217
222
|
|
|
218
223
|
return self.api_client.call_api(
|
|
@@ -234,17 +239,17 @@ class TransactionsApi(object):
|
|
|
234
239
|
|
|
235
240
|
@auto_fill
|
|
236
241
|
@validate_arguments
|
|
237
|
-
def create_developer_transaction_cancel(self, id : Annotated[StrictStr, Field(..., description="
|
|
242
|
+
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
|
|
238
243
|
"""Cancel a transaction # noqa: E501
|
|
239
244
|
|
|
240
|
-
Cancels a specified
|
|
245
|
+
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
|
|
241
246
|
This method makes a synchronous HTTP request by default. To make an
|
|
242
247
|
asynchronous HTTP request, please pass async_req=True
|
|
243
248
|
|
|
244
249
|
>>> thread = api.create_developer_transaction_cancel(id, cancel_transaction_for_developer_request, async_req=True)
|
|
245
250
|
>>> result = thread.get()
|
|
246
251
|
|
|
247
|
-
:param id:
|
|
252
|
+
:param id: The universally unique identifier of the resource. (required)
|
|
248
253
|
:type id: str
|
|
249
254
|
:param cancel_transaction_for_developer_request: Cancel transaction for developer request (required)
|
|
250
255
|
:type cancel_transaction_for_developer_request: CancelTransactionForDeveloperRequest
|
|
@@ -266,17 +271,17 @@ class TransactionsApi(object):
|
|
|
266
271
|
|
|
267
272
|
@auto_fill
|
|
268
273
|
@validate_arguments
|
|
269
|
-
def create_developer_transaction_cancel_with_http_info(self, id : Annotated[StrictStr, Field(..., description="
|
|
274
|
+
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
|
|
270
275
|
"""Cancel a transaction # noqa: E501
|
|
271
276
|
|
|
272
|
-
Cancels a specified
|
|
277
|
+
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
|
|
273
278
|
This method makes a synchronous HTTP request by default. To make an
|
|
274
279
|
asynchronous HTTP request, please pass async_req=True
|
|
275
280
|
|
|
276
281
|
>>> thread = api.create_developer_transaction_cancel_with_http_info(id, cancel_transaction_for_developer_request, async_req=True)
|
|
277
282
|
>>> result = thread.get()
|
|
278
283
|
|
|
279
|
-
:param id:
|
|
284
|
+
:param id: The universally unique identifier of the resource. (required)
|
|
280
285
|
:type id: str
|
|
281
286
|
:param cancel_transaction_for_developer_request: Cancel transaction for developer request (required)
|
|
282
287
|
:type cancel_transaction_for_developer_request: CancelTransactionForDeveloperRequest
|
|
@@ -369,6 +374,9 @@ class TransactionsApi(object):
|
|
|
369
374
|
|
|
370
375
|
_response_types_map = {
|
|
371
376
|
'200': "CancelTransactionForDeveloper",
|
|
377
|
+
'400': "Error",
|
|
378
|
+
'401': "NotAuthorizedResponse",
|
|
379
|
+
'404': "NotFoundResponse",
|
|
372
380
|
}
|
|
373
381
|
|
|
374
382
|
return self.api_client.call_api(
|
|
@@ -517,6 +525,10 @@ class TransactionsApi(object):
|
|
|
517
525
|
|
|
518
526
|
_response_types_map = {
|
|
519
527
|
'200': "CreateContractExecutionTransactionForDeveloper",
|
|
528
|
+
'201': "CreateContractExecutionTransactionForDeveloper",
|
|
529
|
+
'400': "Error",
|
|
530
|
+
'401': "NotAuthorizedResponse",
|
|
531
|
+
'404': "NotFoundResponse",
|
|
520
532
|
}
|
|
521
533
|
|
|
522
534
|
return self.api_client.call_api(
|
|
@@ -665,6 +677,10 @@ class TransactionsApi(object):
|
|
|
665
677
|
|
|
666
678
|
_response_types_map = {
|
|
667
679
|
'200': "CreateTransferTransactionForDeveloperResponse",
|
|
680
|
+
'201': "CreateTransferTransactionForDeveloperResponse",
|
|
681
|
+
'400': "Error",
|
|
682
|
+
'401': "NotAuthorizedResponse",
|
|
683
|
+
'404': "NotFoundResponse",
|
|
668
684
|
}
|
|
669
685
|
|
|
670
686
|
return self.api_client.call_api(
|
|
@@ -813,6 +829,8 @@ class TransactionsApi(object):
|
|
|
813
829
|
|
|
814
830
|
_response_types_map = {
|
|
815
831
|
'200': "EstimateTransactionFee",
|
|
832
|
+
'400': "Error",
|
|
833
|
+
'404': "NotFoundResponse",
|
|
816
834
|
}
|
|
817
835
|
|
|
818
836
|
return self.api_client.call_api(
|
|
@@ -961,6 +979,8 @@ class TransactionsApi(object):
|
|
|
961
979
|
|
|
962
980
|
_response_types_map = {
|
|
963
981
|
'200': "EstimateTransactionFee",
|
|
982
|
+
'400': "Error",
|
|
983
|
+
'404': "NotFoundResponse",
|
|
964
984
|
}
|
|
965
985
|
|
|
966
986
|
return self.api_client.call_api(
|
|
@@ -1109,6 +1129,8 @@ class TransactionsApi(object):
|
|
|
1109
1129
|
|
|
1110
1130
|
_response_types_map = {
|
|
1111
1131
|
'200': "ValidateAddress",
|
|
1132
|
+
'400': "Error",
|
|
1133
|
+
'401': "NotAuthorizedResponse",
|
|
1112
1134
|
}
|
|
1113
1135
|
|
|
1114
1136
|
return self.api_client.call_api(
|
|
@@ -1130,7 +1152,7 @@ class TransactionsApi(object):
|
|
|
1130
1152
|
|
|
1131
1153
|
@auto_fill
|
|
1132
1154
|
@validate_arguments
|
|
1133
|
-
def get_transaction(self, id : Annotated[StrictStr, Field(..., description="
|
|
1155
|
+
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
|
|
1134
1156
|
"""Get a transaction # noqa: E501
|
|
1135
1157
|
|
|
1136
1158
|
Retrieves info for a single transaction using it's unique identifier. # noqa: E501
|
|
@@ -1140,10 +1162,10 @@ class TransactionsApi(object):
|
|
|
1140
1162
|
>>> thread = api.get_transaction(id, tx_type, async_req=True)
|
|
1141
1163
|
>>> result = thread.get()
|
|
1142
1164
|
|
|
1143
|
-
:param id:
|
|
1165
|
+
:param id: The universally unique identifier of the resource. (required)
|
|
1144
1166
|
:type id: str
|
|
1145
1167
|
:param tx_type: Filter by on the transaction type.
|
|
1146
|
-
:type tx_type:
|
|
1168
|
+
:type tx_type: TransactionType
|
|
1147
1169
|
:param async_req: Whether to execute the request asynchronously.
|
|
1148
1170
|
:type async_req: bool, optional
|
|
1149
1171
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -1162,7 +1184,7 @@ class TransactionsApi(object):
|
|
|
1162
1184
|
|
|
1163
1185
|
@auto_fill
|
|
1164
1186
|
@validate_arguments
|
|
1165
|
-
def get_transaction_with_http_info(self, id : Annotated[StrictStr, Field(..., description="
|
|
1187
|
+
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
|
|
1166
1188
|
"""Get a transaction # noqa: E501
|
|
1167
1189
|
|
|
1168
1190
|
Retrieves info for a single transaction using it's unique identifier. # noqa: E501
|
|
@@ -1172,10 +1194,10 @@ class TransactionsApi(object):
|
|
|
1172
1194
|
>>> thread = api.get_transaction_with_http_info(id, tx_type, async_req=True)
|
|
1173
1195
|
>>> result = thread.get()
|
|
1174
1196
|
|
|
1175
|
-
:param id:
|
|
1197
|
+
:param id: The universally unique identifier of the resource. (required)
|
|
1176
1198
|
:type id: str
|
|
1177
1199
|
:param tx_type: Filter by on the transaction type.
|
|
1178
|
-
:type tx_type:
|
|
1200
|
+
:type tx_type: TransactionType
|
|
1179
1201
|
:param async_req: Whether to execute the request asynchronously.
|
|
1180
1202
|
:type async_req: bool, optional
|
|
1181
1203
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -1240,7 +1262,7 @@ class TransactionsApi(object):
|
|
|
1240
1262
|
# process the query parameters
|
|
1241
1263
|
_query_params = []
|
|
1242
1264
|
if _params.get('tx_type') is not None: # noqa: E501
|
|
1243
|
-
_query_params.append(('txType', _params['tx_type']))
|
|
1265
|
+
_query_params.append(('txType', _params['tx_type'].value))
|
|
1244
1266
|
|
|
1245
1267
|
# process the header parameters
|
|
1246
1268
|
_header_params = dict(_params.get('_headers', {}))
|
|
@@ -1258,6 +1280,9 @@ class TransactionsApi(object):
|
|
|
1258
1280
|
|
|
1259
1281
|
_response_types_map = {
|
|
1260
1282
|
'200': "TransactionResponse",
|
|
1283
|
+
'400': "Error",
|
|
1284
|
+
'401': "NotAuthorizedResponse",
|
|
1285
|
+
'404': "NotFoundResponse",
|
|
1261
1286
|
}
|
|
1262
1287
|
|
|
1263
1288
|
return self.api_client.call_api(
|
|
@@ -1279,7 +1304,7 @@ class TransactionsApi(object):
|
|
|
1279
1304
|
|
|
1280
1305
|
@auto_fill
|
|
1281
1306
|
@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
|
|
1307
|
+
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
|
|
1283
1308
|
"""List transactions # noqa: E501
|
|
1284
1309
|
|
|
1285
1310
|
Lists all transactions. Includes details such as status, source/destination, and transaction hash. # noqa: E501
|
|
@@ -1297,15 +1322,15 @@ class TransactionsApi(object):
|
|
|
1297
1322
|
:type destination_address: str
|
|
1298
1323
|
:param include_all: Return all recourses with monitored and non-monitored tokens.
|
|
1299
1324
|
:type include_all: bool
|
|
1300
|
-
:param operation: Filter by
|
|
1325
|
+
:param operation: Filter by the operation of the transaction.
|
|
1301
1326
|
:type operation: str
|
|
1302
1327
|
:param state: Filter by the state of the transaction.
|
|
1303
|
-
:type state:
|
|
1328
|
+
:type state: TransactionState
|
|
1304
1329
|
:param tx_hash: Filter on the transaction hash of the transaction.
|
|
1305
1330
|
:type tx_hash: str
|
|
1306
1331
|
:param tx_type: Filter by on the transaction type.
|
|
1307
|
-
:type tx_type:
|
|
1308
|
-
:param wallet_ids: Filter by the wallet IDs of
|
|
1332
|
+
:type tx_type: TransactionType
|
|
1333
|
+
:param wallet_ids: Filter by the wallet IDs, this parameter is a comma separated list of ids.
|
|
1309
1334
|
:type wallet_ids: str
|
|
1310
1335
|
:param var_from: Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
1311
1336
|
:type var_from: datetime
|
|
@@ -1335,7 +1360,7 @@ class TransactionsApi(object):
|
|
|
1335
1360
|
|
|
1336
1361
|
@auto_fill
|
|
1337
1362
|
@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
|
|
1363
|
+
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
|
|
1339
1364
|
"""List transactions # noqa: E501
|
|
1340
1365
|
|
|
1341
1366
|
Lists all transactions. Includes details such as status, source/destination, and transaction hash. # noqa: E501
|
|
@@ -1353,15 +1378,15 @@ class TransactionsApi(object):
|
|
|
1353
1378
|
:type destination_address: str
|
|
1354
1379
|
:param include_all: Return all recourses with monitored and non-monitored tokens.
|
|
1355
1380
|
:type include_all: bool
|
|
1356
|
-
:param operation: Filter by
|
|
1381
|
+
:param operation: Filter by the operation of the transaction.
|
|
1357
1382
|
:type operation: str
|
|
1358
1383
|
:param state: Filter by the state of the transaction.
|
|
1359
|
-
:type state:
|
|
1384
|
+
:type state: TransactionState
|
|
1360
1385
|
:param tx_hash: Filter on the transaction hash of the transaction.
|
|
1361
1386
|
:type tx_hash: str
|
|
1362
1387
|
:param tx_type: Filter by on the transaction type.
|
|
1363
|
-
:type tx_type:
|
|
1364
|
-
:param wallet_ids: Filter by the wallet IDs of
|
|
1388
|
+
:type tx_type: TransactionType
|
|
1389
|
+
:param wallet_ids: Filter by the wallet IDs, this parameter is a comma separated list of ids.
|
|
1365
1390
|
:type wallet_ids: str
|
|
1366
1391
|
:param var_from: Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
1367
1392
|
:type var_from: datetime
|
|
@@ -1461,13 +1486,13 @@ class TransactionsApi(object):
|
|
|
1461
1486
|
_query_params.append(('operation', _params['operation']))
|
|
1462
1487
|
|
|
1463
1488
|
if _params.get('state') is not None: # noqa: E501
|
|
1464
|
-
_query_params.append(('state', _params['state']))
|
|
1489
|
+
_query_params.append(('state', _params['state'].value))
|
|
1465
1490
|
|
|
1466
1491
|
if _params.get('tx_hash') is not None: # noqa: E501
|
|
1467
1492
|
_query_params.append(('txHash', _params['tx_hash']))
|
|
1468
1493
|
|
|
1469
1494
|
if _params.get('tx_type') is not None: # noqa: E501
|
|
1470
|
-
_query_params.append(('txType', _params['tx_type']))
|
|
1495
|
+
_query_params.append(('txType', _params['tx_type'].value))
|
|
1471
1496
|
|
|
1472
1497
|
if _params.get('wallet_ids') is not None: # noqa: E501
|
|
1473
1498
|
_query_params.append(('walletIds', _params['wallet_ids']))
|
|
@@ -1509,6 +1534,8 @@ class TransactionsApi(object):
|
|
|
1509
1534
|
|
|
1510
1535
|
_response_types_map = {
|
|
1511
1536
|
'200': "Transactions",
|
|
1537
|
+
'400': "Error",
|
|
1538
|
+
'401': "NotAuthorizedResponse",
|
|
1512
1539
|
}
|
|
1513
1540
|
|
|
1514
1541
|
return self.api_client.call_api(
|