circle-developer-controlled-wallets 0.1.0b1__py3-none-any.whl → 1.1.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 +26 -24
- circle/web3/developer_controlled_wallets/api/signing_api.py +2 -2
- circle/web3/developer_controlled_wallets/api/token_lookup_api.py +1 -1
- circle/web3/developer_controlled_wallets/api/transactions_api.py +25 -23
- circle/web3/developer_controlled_wallets/api/wallet_sets_api.py +118 -80
- circle/web3/developer_controlled_wallets/api/wallets_api.py +240 -209
- circle/web3/developer_controlled_wallets/api_client.py +1 -1
- circle/web3/developer_controlled_wallets/configuration.py +3 -3
- circle/web3/developer_controlled_wallets/models/__init__.py +25 -23
- circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer_response.py +1 -1
- circle/web3/developer_controlled_wallets/models/account_type.py +1 -1
- circle/web3/developer_controlled_wallets/models/bad_request_response.py +85 -0
- circle/web3/developer_controlled_wallets/models/balance.py +1 -1
- circle/web3/developer_controlled_wallets/models/blockchain.py +3 -1
- circle/web3/developer_controlled_wallets/models/cancel_transaction_for_developer_response.py +1 -1
- 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 +6 -5
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_response.py +1 -1
- circle/web3/developer_controlled_wallets/models/{create_developer_wallet_request.py → create_wallet_request.py} +9 -9
- circle/web3/developer_controlled_wallets/models/{create_developer_wallet_set_request.py → create_wallet_set_request.py} +11 -11
- circle/web3/developer_controlled_wallets/models/custody_type.py +1 -1
- circle/web3/developer_controlled_wallets/models/{update_wallet_set_metadata_response.py → developer_wallet_set.py} +26 -17
- circle/web3/developer_controlled_wallets/models/{wallet_set_response.py → end_user_wallet_set.py} +24 -20
- circle/web3/developer_controlled_wallets/models/{ext_wallet_response_wallet.py → eoa_wallet.py} +29 -25
- 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 +40 -0
- circle/web3/developer_controlled_wallets/models/estimate_transfer_transaction_fee_request.py +2 -1
- circle/web3/developer_controlled_wallets/models/nft.py +1 -1
- circle/web3/developer_controlled_wallets/models/not_authorized_response.py +85 -0
- circle/web3/developer_controlled_wallets/models/not_found_response.py +85 -0
- circle/web3/developer_controlled_wallets/models/sca_wallet.py +117 -0
- circle/web3/developer_controlled_wallets/models/token_blockchain.py +42 -0
- circle/web3/developer_controlled_wallets/models/token_response.py +3 -3
- circle/web3/developer_controlled_wallets/models/transaction.py +3 -3
- circle/web3/developer_controlled_wallets/models/{ext_update_wallet_metadata_request.py → update_wallet_request.py} +9 -9
- circle/web3/developer_controlled_wallets/models/{update_wallet_set_metadata_request.py → update_wallet_set_request.py} +8 -8
- circle/web3/developer_controlled_wallets/models/{wallet_response.py → wallet.py} +17 -22
- circle/web3/developer_controlled_wallets/models/{update_wallet200_response.py → wallet2.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{ext_wallet_response.py → wallet2_data.py} +13 -13
- circle/web3/developer_controlled_wallets/models/wallet_metadata.py +1 -1
- circle/web3/developer_controlled_wallets/models/wallet_set.py +87 -0
- circle/web3/developer_controlled_wallets/models/{get_wallet200_response.py → wallet_set2.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{get_wallet_set_by_id_response.py → wallet_set2_data.py} +12 -12
- circle/web3/developer_controlled_wallets/models/{list_wallets200_response.py → wallet_sets.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{get_wallet_sets_response.py → wallet_sets_data.py} +12 -12
- circle/web3/developer_controlled_wallets/models/wallet_sets_data_wallet_sets_inner.py +140 -0
- circle/web3/developer_controlled_wallets/models/wallet_state.py +1 -1
- circle/web3/developer_controlled_wallets/models/{get_wallet_set200_response.py → wallets.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{ext_get_all_wallets_response.py → wallets_data.py} +13 -13
- circle/web3/developer_controlled_wallets/models/wallets_data_wallets_inner.py +140 -0
- {circle_developer_controlled_wallets-0.1.0b1.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/METADATA +4 -4
- {circle_developer_controlled_wallets-0.1.0b1.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/RECORD +54 -52
- circle/web3/developer_controlled_wallets/models/create_developer_wallet200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/create_developer_wallet_response.py +0 -91
- circle/web3/developer_controlled_wallets/models/create_developer_wallet_set_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/create_wallet_set200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/ext_get_wallet_by_id_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/list_wallet_sets200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/update_wallet_set200_response.py +0 -87
- {circle_developer_controlled_wallets-0.1.0b1.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/WHEEL +0 -0
- {circle_developer_controlled_wallets-0.1.0b1.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/top_level.txt +0 -0
|
@@ -22,14 +22,13 @@ 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.
|
|
26
|
-
from circle.web3.developer_controlled_wallets.models.
|
|
27
|
-
from circle.web3.developer_controlled_wallets.models.ext_update_wallet_metadata_request import ExtUpdateWalletMetadataRequest
|
|
28
|
-
from circle.web3.developer_controlled_wallets.models.get_wallet200_response import GetWallet200Response
|
|
25
|
+
from circle.web3.developer_controlled_wallets.models.blockchain import Blockchain
|
|
26
|
+
from circle.web3.developer_controlled_wallets.models.create_wallet_request import CreateWalletRequest
|
|
29
27
|
from circle.web3.developer_controlled_wallets.models.list_wallet_ballance200_response import ListWalletBallance200Response
|
|
30
28
|
from circle.web3.developer_controlled_wallets.models.list_wallet_nfts200_response import ListWalletNfts200Response
|
|
31
|
-
from circle.web3.developer_controlled_wallets.models.
|
|
32
|
-
from circle.web3.developer_controlled_wallets.models.
|
|
29
|
+
from circle.web3.developer_controlled_wallets.models.update_wallet_request import UpdateWalletRequest
|
|
30
|
+
from circle.web3.developer_controlled_wallets.models.wallet2 import Wallet2
|
|
31
|
+
from circle.web3.developer_controlled_wallets.models.wallets import Wallets
|
|
33
32
|
|
|
34
33
|
from circle.web3.developer_controlled_wallets.api_client import ApiClient
|
|
35
34
|
from circle.web3.developer_controlled_wallets.api_response import ApiResponse
|
|
@@ -69,18 +68,20 @@ class WalletsApi(object):
|
|
|
69
68
|
|
|
70
69
|
@auto_fill
|
|
71
70
|
@validate_arguments
|
|
72
|
-
def
|
|
71
|
+
def create_wallet(self, create_wallet_request : Annotated[CreateWalletRequest, Field(..., description="Schema for the request payload to create a new wallet.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> Wallets: # noqa: E501
|
|
73
72
|
"""Create wallets # noqa: E501
|
|
74
73
|
|
|
75
74
|
Generates a new developer-controlled wallet or batch of wallets within a wallet set, specifying blockchain and wallet name. # noqa: E501
|
|
76
75
|
This method makes a synchronous HTTP request by default. To make an
|
|
77
76
|
asynchronous HTTP request, please pass async_req=True
|
|
78
77
|
|
|
79
|
-
>>> thread = api.
|
|
78
|
+
>>> thread = api.create_wallet(create_wallet_request, x_request_id, async_req=True)
|
|
80
79
|
>>> result = thread.get()
|
|
81
80
|
|
|
82
|
-
:param
|
|
83
|
-
:type
|
|
81
|
+
:param create_wallet_request: Schema for the request payload to create a new wallet. (required)
|
|
82
|
+
:type create_wallet_request: CreateWalletRequest
|
|
83
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
84
|
+
:type x_request_id: str
|
|
84
85
|
:param async_req: Whether to execute the request asynchronously.
|
|
85
86
|
:type async_req: bool, optional
|
|
86
87
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -90,27 +91,29 @@ class WalletsApi(object):
|
|
|
90
91
|
:return: Returns the result object.
|
|
91
92
|
If the method is called asynchronously,
|
|
92
93
|
returns the request thread.
|
|
93
|
-
:rtype:
|
|
94
|
+
:rtype: Wallets
|
|
94
95
|
"""
|
|
95
96
|
kwargs['_return_http_data_only'] = True
|
|
96
97
|
if '_preload_content' in kwargs:
|
|
97
|
-
raise ValueError("Error! Please call the
|
|
98
|
-
return self.
|
|
98
|
+
raise ValueError("Error! Please call the create_wallet_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
99
|
+
return self.create_wallet_with_http_info(create_wallet_request, x_request_id, **kwargs) # noqa: E501
|
|
99
100
|
|
|
100
101
|
@auto_fill
|
|
101
102
|
@validate_arguments
|
|
102
|
-
def
|
|
103
|
+
def create_wallet_with_http_info(self, create_wallet_request : Annotated[CreateWalletRequest, Field(..., description="Schema for the request payload to create a new wallet.")], 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
|
|
103
104
|
"""Create wallets # noqa: E501
|
|
104
105
|
|
|
105
106
|
Generates a new developer-controlled wallet or batch of wallets within a wallet set, specifying blockchain and wallet name. # noqa: E501
|
|
106
107
|
This method makes a synchronous HTTP request by default. To make an
|
|
107
108
|
asynchronous HTTP request, please pass async_req=True
|
|
108
109
|
|
|
109
|
-
>>> thread = api.
|
|
110
|
+
>>> thread = api.create_wallet_with_http_info(create_wallet_request, x_request_id, async_req=True)
|
|
110
111
|
>>> result = thread.get()
|
|
111
112
|
|
|
112
|
-
:param
|
|
113
|
-
:type
|
|
113
|
+
:param create_wallet_request: Schema for the request payload to create a new wallet. (required)
|
|
114
|
+
:type create_wallet_request: CreateWalletRequest
|
|
115
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
116
|
+
:type x_request_id: str
|
|
114
117
|
:param async_req: Whether to execute the request asynchronously.
|
|
115
118
|
:type async_req: bool, optional
|
|
116
119
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -133,13 +136,14 @@ class WalletsApi(object):
|
|
|
133
136
|
:return: Returns the result object.
|
|
134
137
|
If the method is called asynchronously,
|
|
135
138
|
returns the request thread.
|
|
136
|
-
:rtype: tuple(
|
|
139
|
+
:rtype: tuple(Wallets, status_code(int), headers(HTTPHeaderDict))
|
|
137
140
|
"""
|
|
138
141
|
|
|
139
142
|
_params = locals()
|
|
140
143
|
|
|
141
144
|
_all_params = [
|
|
142
|
-
'
|
|
145
|
+
'create_wallet_request',
|
|
146
|
+
'x_request_id'
|
|
143
147
|
]
|
|
144
148
|
_all_params.extend(
|
|
145
149
|
[
|
|
@@ -158,7 +162,7 @@ class WalletsApi(object):
|
|
|
158
162
|
if _key not in _all_params:
|
|
159
163
|
raise ApiTypeError(
|
|
160
164
|
"Got an unexpected keyword argument '%s'"
|
|
161
|
-
" to method
|
|
165
|
+
" to method create_wallet" % _key
|
|
162
166
|
)
|
|
163
167
|
_params[_key] = _val
|
|
164
168
|
del _params['kwargs']
|
|
@@ -172,13 +176,16 @@ class WalletsApi(object):
|
|
|
172
176
|
_query_params = []
|
|
173
177
|
# process the header parameters
|
|
174
178
|
_header_params = dict(_params.get('_headers', {}))
|
|
179
|
+
if _params['x_request_id']:
|
|
180
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
181
|
+
|
|
175
182
|
# process the form parameters
|
|
176
183
|
_form_params = []
|
|
177
184
|
_files = {}
|
|
178
185
|
# process the body parameter
|
|
179
186
|
_body_params = None
|
|
180
|
-
if _params['
|
|
181
|
-
_body_params = _params['
|
|
187
|
+
if _params['create_wallet_request'] is not None:
|
|
188
|
+
_body_params = _params['create_wallet_request']
|
|
182
189
|
|
|
183
190
|
# set the HTTP header `Accept`
|
|
184
191
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
@@ -195,11 +202,13 @@ class WalletsApi(object):
|
|
|
195
202
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
196
203
|
|
|
197
204
|
_response_types_map = {
|
|
198
|
-
'200': "
|
|
205
|
+
'200': "Wallets",
|
|
206
|
+
'400': "BadRequestResponse",
|
|
207
|
+
'401': "NotAuthorizedResponse",
|
|
199
208
|
}
|
|
200
209
|
|
|
201
210
|
return self.api_client.call_api(
|
|
202
|
-
'/developer/wallets', 'POST',
|
|
211
|
+
'/v1/w3s/developer/wallets', 'POST',
|
|
203
212
|
_path_params,
|
|
204
213
|
_query_params,
|
|
205
214
|
_header_params,
|
|
@@ -217,18 +226,20 @@ class WalletsApi(object):
|
|
|
217
226
|
|
|
218
227
|
@auto_fill
|
|
219
228
|
@validate_arguments
|
|
220
|
-
def get_wallet(self, id : Annotated[StrictStr, Field(..., description="
|
|
221
|
-
"""
|
|
229
|
+
def get_wallet(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) -> Wallet2: # noqa: E501
|
|
230
|
+
"""Retrieve a wallet # noqa: E501
|
|
222
231
|
|
|
223
|
-
|
|
232
|
+
Retrieve an existing wallet # noqa: E501
|
|
224
233
|
This method makes a synchronous HTTP request by default. To make an
|
|
225
234
|
asynchronous HTTP request, please pass async_req=True
|
|
226
235
|
|
|
227
|
-
>>> thread = api.get_wallet(id, async_req=True)
|
|
236
|
+
>>> thread = api.get_wallet(id, x_request_id, async_req=True)
|
|
228
237
|
>>> result = thread.get()
|
|
229
238
|
|
|
230
|
-
:param id:
|
|
239
|
+
:param id: The universally unique identifier (UUID v4) of the resource. (required)
|
|
231
240
|
:type id: str
|
|
241
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
242
|
+
:type x_request_id: str
|
|
232
243
|
:param async_req: Whether to execute the request asynchronously.
|
|
233
244
|
:type async_req: bool, optional
|
|
234
245
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -238,27 +249,29 @@ class WalletsApi(object):
|
|
|
238
249
|
:return: Returns the result object.
|
|
239
250
|
If the method is called asynchronously,
|
|
240
251
|
returns the request thread.
|
|
241
|
-
:rtype:
|
|
252
|
+
:rtype: Wallet2
|
|
242
253
|
"""
|
|
243
254
|
kwargs['_return_http_data_only'] = True
|
|
244
255
|
if '_preload_content' in kwargs:
|
|
245
256
|
raise ValueError("Error! Please call the get_wallet_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
246
|
-
return self.get_wallet_with_http_info(id, **kwargs) # noqa: E501
|
|
257
|
+
return self.get_wallet_with_http_info(id, x_request_id, **kwargs) # noqa: E501
|
|
247
258
|
|
|
248
259
|
@auto_fill
|
|
249
260
|
@validate_arguments
|
|
250
|
-
def get_wallet_with_http_info(self, id : Annotated[StrictStr, Field(..., description="
|
|
251
|
-
"""
|
|
261
|
+
def get_wallet_with_http_info(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) -> ApiResponse: # noqa: E501
|
|
262
|
+
"""Retrieve a wallet # noqa: E501
|
|
252
263
|
|
|
253
|
-
|
|
264
|
+
Retrieve an existing wallet # noqa: E501
|
|
254
265
|
This method makes a synchronous HTTP request by default. To make an
|
|
255
266
|
asynchronous HTTP request, please pass async_req=True
|
|
256
267
|
|
|
257
|
-
>>> thread = api.get_wallet_with_http_info(id, async_req=True)
|
|
268
|
+
>>> thread = api.get_wallet_with_http_info(id, x_request_id, async_req=True)
|
|
258
269
|
>>> result = thread.get()
|
|
259
270
|
|
|
260
|
-
:param id:
|
|
271
|
+
:param id: The universally unique identifier (UUID v4) of the resource. (required)
|
|
261
272
|
:type id: str
|
|
273
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
274
|
+
:type x_request_id: str
|
|
262
275
|
:param async_req: Whether to execute the request asynchronously.
|
|
263
276
|
:type async_req: bool, optional
|
|
264
277
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -281,13 +294,14 @@ class WalletsApi(object):
|
|
|
281
294
|
:return: Returns the result object.
|
|
282
295
|
If the method is called asynchronously,
|
|
283
296
|
returns the request thread.
|
|
284
|
-
:rtype: tuple(
|
|
297
|
+
:rtype: tuple(Wallet2, status_code(int), headers(HTTPHeaderDict))
|
|
285
298
|
"""
|
|
286
299
|
|
|
287
300
|
_params = locals()
|
|
288
301
|
|
|
289
302
|
_all_params = [
|
|
290
|
-
'id'
|
|
303
|
+
'id',
|
|
304
|
+
'x_request_id'
|
|
291
305
|
]
|
|
292
306
|
_all_params.extend(
|
|
293
307
|
[
|
|
@@ -323,6 +337,9 @@ class WalletsApi(object):
|
|
|
323
337
|
_query_params = []
|
|
324
338
|
# process the header parameters
|
|
325
339
|
_header_params = dict(_params.get('_headers', {}))
|
|
340
|
+
if _params['x_request_id']:
|
|
341
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
342
|
+
|
|
326
343
|
# process the form parameters
|
|
327
344
|
_form_params = []
|
|
328
345
|
_files = {}
|
|
@@ -336,11 +353,13 @@ class WalletsApi(object):
|
|
|
336
353
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
337
354
|
|
|
338
355
|
_response_types_map = {
|
|
339
|
-
'200': "
|
|
356
|
+
'200': "Wallet2",
|
|
357
|
+
'401': "NotAuthorizedResponse",
|
|
358
|
+
'404': "NotFoundResponse",
|
|
340
359
|
}
|
|
341
360
|
|
|
342
361
|
return self.api_client.call_api(
|
|
343
|
-
'/wallets/{id}', 'GET',
|
|
362
|
+
'/v1/w3s/wallets/{id}', 'GET',
|
|
344
363
|
_path_params,
|
|
345
364
|
_query_params,
|
|
346
365
|
_header_params,
|
|
@@ -358,31 +377,33 @@ class WalletsApi(object):
|
|
|
358
377
|
|
|
359
378
|
@auto_fill
|
|
360
379
|
@validate_arguments
|
|
361
|
-
def
|
|
362
|
-
"""
|
|
380
|
+
def get_wallets(self, address : Annotated[Optional[StrictStr], Field(description="Filter by the blockchain address of the wallet.")] = None, blockchain : Annotated[Optional[Blockchain], Field(description="Filter by blockchain.")] = None, wallet_set_id : Annotated[Optional[StrictStr], Field(description="Filter by the wallet set.")] = None, ref_id : Annotated[Optional[StrictStr], Field(description="Filter by the reference identifier.")] = 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) -> Wallets: # noqa: E501
|
|
381
|
+
"""List wallets # noqa: E501
|
|
363
382
|
|
|
364
|
-
|
|
383
|
+
Retrieves a list of all wallets that fit the specified parameters. # noqa: E501
|
|
365
384
|
This method makes a synchronous HTTP request by default. To make an
|
|
366
385
|
asynchronous HTTP request, please pass async_req=True
|
|
367
386
|
|
|
368
|
-
>>> thread = api.
|
|
387
|
+
>>> thread = api.get_wallets(address, blockchain, wallet_set_id, ref_id, var_from, to, page_before, page_after, page_size, async_req=True)
|
|
369
388
|
>>> result = thread.get()
|
|
370
389
|
|
|
371
|
-
:param
|
|
372
|
-
:type
|
|
373
|
-
:param
|
|
374
|
-
:type
|
|
375
|
-
:param
|
|
376
|
-
:type
|
|
377
|
-
:param
|
|
378
|
-
:type
|
|
379
|
-
:param
|
|
380
|
-
:type
|
|
381
|
-
:param
|
|
390
|
+
:param address: Filter by the blockchain address of the wallet.
|
|
391
|
+
:type address: str
|
|
392
|
+
:param blockchain: Filter by blockchain.
|
|
393
|
+
:type blockchain: Blockchain
|
|
394
|
+
:param wallet_set_id: Filter by the wallet set.
|
|
395
|
+
:type wallet_set_id: str
|
|
396
|
+
:param ref_id: Filter by the reference identifier.
|
|
397
|
+
:type ref_id: str
|
|
398
|
+
:param var_from: Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
399
|
+
:type var_from: datetime
|
|
400
|
+
:param to: Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
401
|
+
:type to: datetime
|
|
402
|
+
:param page_before: 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.
|
|
382
403
|
:type page_before: str
|
|
383
|
-
:param page_after: 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
|
|
404
|
+
:param page_after: 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.
|
|
384
405
|
:type page_after: str
|
|
385
|
-
:param page_size: Limits the number of items to be returned.
|
|
406
|
+
: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.
|
|
386
407
|
:type page_size: int
|
|
387
408
|
:param async_req: Whether to execute the request asynchronously.
|
|
388
409
|
:type async_req: bool, optional
|
|
@@ -393,40 +414,42 @@ class WalletsApi(object):
|
|
|
393
414
|
:return: Returns the result object.
|
|
394
415
|
If the method is called asynchronously,
|
|
395
416
|
returns the request thread.
|
|
396
|
-
:rtype:
|
|
417
|
+
:rtype: Wallets
|
|
397
418
|
"""
|
|
398
419
|
kwargs['_return_http_data_only'] = True
|
|
399
420
|
if '_preload_content' in kwargs:
|
|
400
|
-
raise ValueError("Error! Please call the
|
|
401
|
-
return self.
|
|
421
|
+
raise ValueError("Error! Please call the get_wallets_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
422
|
+
return self.get_wallets_with_http_info(address, blockchain, wallet_set_id, ref_id, var_from, to, page_before, page_after, page_size, **kwargs) # noqa: E501
|
|
402
423
|
|
|
403
424
|
@auto_fill
|
|
404
425
|
@validate_arguments
|
|
405
|
-
def
|
|
406
|
-
"""
|
|
426
|
+
def get_wallets_with_http_info(self, address : Annotated[Optional[StrictStr], Field(description="Filter by the blockchain address of the wallet.")] = None, blockchain : Annotated[Optional[Blockchain], Field(description="Filter by blockchain.")] = None, wallet_set_id : Annotated[Optional[StrictStr], Field(description="Filter by the wallet set.")] = None, ref_id : Annotated[Optional[StrictStr], Field(description="Filter by the reference identifier.")] = 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
|
|
427
|
+
"""List wallets # noqa: E501
|
|
407
428
|
|
|
408
|
-
|
|
429
|
+
Retrieves a list of all wallets that fit the specified parameters. # noqa: E501
|
|
409
430
|
This method makes a synchronous HTTP request by default. To make an
|
|
410
431
|
asynchronous HTTP request, please pass async_req=True
|
|
411
432
|
|
|
412
|
-
>>> thread = api.
|
|
433
|
+
>>> thread = api.get_wallets_with_http_info(address, blockchain, wallet_set_id, ref_id, var_from, to, page_before, page_after, page_size, async_req=True)
|
|
413
434
|
>>> result = thread.get()
|
|
414
435
|
|
|
415
|
-
:param
|
|
416
|
-
:type
|
|
417
|
-
:param
|
|
418
|
-
:type
|
|
419
|
-
:param
|
|
420
|
-
:type
|
|
421
|
-
:param
|
|
422
|
-
:type
|
|
423
|
-
:param
|
|
424
|
-
:type
|
|
425
|
-
:param
|
|
436
|
+
:param address: Filter by the blockchain address of the wallet.
|
|
437
|
+
:type address: str
|
|
438
|
+
:param blockchain: Filter by blockchain.
|
|
439
|
+
:type blockchain: Blockchain
|
|
440
|
+
:param wallet_set_id: Filter by the wallet set.
|
|
441
|
+
:type wallet_set_id: str
|
|
442
|
+
:param ref_id: Filter by the reference identifier.
|
|
443
|
+
:type ref_id: str
|
|
444
|
+
:param var_from: Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
445
|
+
:type var_from: datetime
|
|
446
|
+
:param to: Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
447
|
+
:type to: datetime
|
|
448
|
+
:param page_before: 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.
|
|
426
449
|
:type page_before: str
|
|
427
|
-
:param page_after: 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
|
|
450
|
+
:param page_after: 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.
|
|
428
451
|
:type page_after: str
|
|
429
|
-
:param page_size: Limits the number of items to be returned.
|
|
452
|
+
: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.
|
|
430
453
|
:type page_size: int
|
|
431
454
|
:param async_req: Whether to execute the request asynchronously.
|
|
432
455
|
:type async_req: bool, optional
|
|
@@ -450,17 +473,18 @@ class WalletsApi(object):
|
|
|
450
473
|
:return: Returns the result object.
|
|
451
474
|
If the method is called asynchronously,
|
|
452
475
|
returns the request thread.
|
|
453
|
-
:rtype: tuple(
|
|
476
|
+
:rtype: tuple(Wallets, status_code(int), headers(HTTPHeaderDict))
|
|
454
477
|
"""
|
|
455
478
|
|
|
456
479
|
_params = locals()
|
|
457
480
|
|
|
458
481
|
_all_params = [
|
|
459
|
-
'
|
|
460
|
-
'
|
|
461
|
-
'
|
|
462
|
-
'
|
|
463
|
-
'
|
|
482
|
+
'address',
|
|
483
|
+
'blockchain',
|
|
484
|
+
'wallet_set_id',
|
|
485
|
+
'ref_id',
|
|
486
|
+
'var_from',
|
|
487
|
+
'to',
|
|
464
488
|
'page_before',
|
|
465
489
|
'page_after',
|
|
466
490
|
'page_size'
|
|
@@ -482,7 +506,7 @@ class WalletsApi(object):
|
|
|
482
506
|
if _key not in _all_params:
|
|
483
507
|
raise ApiTypeError(
|
|
484
508
|
"Got an unexpected keyword argument '%s'"
|
|
485
|
-
" to method
|
|
509
|
+
" to method get_wallets" % _key
|
|
486
510
|
)
|
|
487
511
|
_params[_key] = _val
|
|
488
512
|
del _params['kwargs']
|
|
@@ -491,23 +515,32 @@ class WalletsApi(object):
|
|
|
491
515
|
|
|
492
516
|
# process the path parameters
|
|
493
517
|
_path_params = {}
|
|
494
|
-
if _params['id']:
|
|
495
|
-
_path_params['id'] = _params['id']
|
|
496
|
-
|
|
497
518
|
|
|
498
519
|
# process the query parameters
|
|
499
520
|
_query_params = []
|
|
500
|
-
if _params.get('
|
|
501
|
-
_query_params.append(('
|
|
521
|
+
if _params.get('address') is not None: # noqa: E501
|
|
522
|
+
_query_params.append(('address', _params['address']))
|
|
502
523
|
|
|
503
|
-
if _params.get('
|
|
504
|
-
_query_params.append(('
|
|
524
|
+
if _params.get('blockchain') is not None: # noqa: E501
|
|
525
|
+
_query_params.append(('blockchain', _params['blockchain'].value))
|
|
505
526
|
|
|
506
|
-
if _params.get('
|
|
507
|
-
_query_params.append(('
|
|
527
|
+
if _params.get('wallet_set_id') is not None: # noqa: E501
|
|
528
|
+
_query_params.append(('walletSetId', _params['wallet_set_id']))
|
|
508
529
|
|
|
509
|
-
if _params.get('
|
|
510
|
-
_query_params.append(('
|
|
530
|
+
if _params.get('ref_id') is not None: # noqa: E501
|
|
531
|
+
_query_params.append(('refId', _params['ref_id']))
|
|
532
|
+
|
|
533
|
+
if _params.get('var_from') is not None: # noqa: E501
|
|
534
|
+
if isinstance(_params['var_from'], datetime):
|
|
535
|
+
_query_params.append(('from', _params['var_from'].strftime(self.api_client.configuration.datetime_format)))
|
|
536
|
+
else:
|
|
537
|
+
_query_params.append(('from', _params['var_from']))
|
|
538
|
+
|
|
539
|
+
if _params.get('to') is not None: # noqa: E501
|
|
540
|
+
if isinstance(_params['to'], datetime):
|
|
541
|
+
_query_params.append(('to', _params['to'].strftime(self.api_client.configuration.datetime_format)))
|
|
542
|
+
else:
|
|
543
|
+
_query_params.append(('to', _params['to']))
|
|
511
544
|
|
|
512
545
|
if _params.get('page_before') is not None: # noqa: E501
|
|
513
546
|
_query_params.append(('pageBefore', _params['page_before']))
|
|
@@ -533,11 +566,12 @@ class WalletsApi(object):
|
|
|
533
566
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
534
567
|
|
|
535
568
|
_response_types_map = {
|
|
536
|
-
'200': "
|
|
569
|
+
'200': "Wallets",
|
|
570
|
+
'401': "NotAuthorizedResponse",
|
|
537
571
|
}
|
|
538
572
|
|
|
539
573
|
return self.api_client.call_api(
|
|
540
|
-
'/
|
|
574
|
+
'/v1/w3s/wallets', 'GET',
|
|
541
575
|
_path_params,
|
|
542
576
|
_query_params,
|
|
543
577
|
_header_params,
|
|
@@ -555,14 +589,14 @@ class WalletsApi(object):
|
|
|
555
589
|
|
|
556
590
|
@auto_fill
|
|
557
591
|
@validate_arguments
|
|
558
|
-
def
|
|
559
|
-
"""Get
|
|
592
|
+
def list_wallet_ballance(self, id : Annotated[StrictStr, Field(..., description="Wallet ID")], include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, name : Annotated[Optional[StrictStr], Field(description="Filter by token name.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token addresses.")] = None, standard : Annotated[Optional[StrictStr], Field(description="Filter by the token standard.")] = 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) -> ListWalletBallance200Response: # noqa: E501
|
|
593
|
+
"""Get token balance for a wallet # noqa: E501
|
|
560
594
|
|
|
561
|
-
Fetches the
|
|
595
|
+
Fetches the digital asset balance for a single developer-controlled wallet using its unique identifier. # noqa: E501
|
|
562
596
|
This method makes a synchronous HTTP request by default. To make an
|
|
563
597
|
asynchronous HTTP request, please pass async_req=True
|
|
564
598
|
|
|
565
|
-
>>> thread = api.
|
|
599
|
+
>>> thread = api.list_wallet_ballance(id, include_all, name, token_address, standard, page_before, page_after, page_size, async_req=True)
|
|
566
600
|
>>> result = thread.get()
|
|
567
601
|
|
|
568
602
|
:param id: Wallet ID (required)
|
|
@@ -575,11 +609,11 @@ class WalletsApi(object):
|
|
|
575
609
|
:type token_address: str
|
|
576
610
|
:param standard: Filter by the token standard.
|
|
577
611
|
:type standard: str
|
|
578
|
-
:param page_before: 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
|
|
612
|
+
:param page_before: 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.
|
|
579
613
|
:type page_before: str
|
|
580
|
-
:param page_after: 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
|
|
614
|
+
:param page_after: 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.
|
|
581
615
|
:type page_after: str
|
|
582
|
-
:param page_size: Limits the number of items to be returned.
|
|
616
|
+
: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.
|
|
583
617
|
:type page_size: int
|
|
584
618
|
:param async_req: Whether to execute the request asynchronously.
|
|
585
619
|
:type async_req: bool, optional
|
|
@@ -590,23 +624,23 @@ class WalletsApi(object):
|
|
|
590
624
|
:return: Returns the result object.
|
|
591
625
|
If the method is called asynchronously,
|
|
592
626
|
returns the request thread.
|
|
593
|
-
:rtype:
|
|
627
|
+
:rtype: ListWalletBallance200Response
|
|
594
628
|
"""
|
|
595
629
|
kwargs['_return_http_data_only'] = True
|
|
596
630
|
if '_preload_content' in kwargs:
|
|
597
|
-
raise ValueError("Error! Please call the
|
|
598
|
-
return self.
|
|
631
|
+
raise ValueError("Error! Please call the list_wallet_ballance_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
632
|
+
return self.list_wallet_ballance_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, **kwargs) # noqa: E501
|
|
599
633
|
|
|
600
634
|
@auto_fill
|
|
601
635
|
@validate_arguments
|
|
602
|
-
def
|
|
603
|
-
"""Get
|
|
636
|
+
def list_wallet_ballance_with_http_info(self, id : Annotated[StrictStr, Field(..., description="Wallet ID")], include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, name : Annotated[Optional[StrictStr], Field(description="Filter by token name.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token addresses.")] = None, standard : Annotated[Optional[StrictStr], Field(description="Filter by the token standard.")] = 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
|
|
637
|
+
"""Get token balance for a wallet # noqa: E501
|
|
604
638
|
|
|
605
|
-
Fetches the
|
|
639
|
+
Fetches the digital asset balance for a single developer-controlled wallet using its unique identifier. # noqa: E501
|
|
606
640
|
This method makes a synchronous HTTP request by default. To make an
|
|
607
641
|
asynchronous HTTP request, please pass async_req=True
|
|
608
642
|
|
|
609
|
-
>>> thread = api.
|
|
643
|
+
>>> thread = api.list_wallet_ballance_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, async_req=True)
|
|
610
644
|
>>> result = thread.get()
|
|
611
645
|
|
|
612
646
|
:param id: Wallet ID (required)
|
|
@@ -619,11 +653,11 @@ class WalletsApi(object):
|
|
|
619
653
|
:type token_address: str
|
|
620
654
|
:param standard: Filter by the token standard.
|
|
621
655
|
:type standard: str
|
|
622
|
-
:param page_before: 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
|
|
656
|
+
:param page_before: 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.
|
|
623
657
|
:type page_before: str
|
|
624
|
-
:param page_after: 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
|
|
658
|
+
:param page_after: 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.
|
|
625
659
|
:type page_after: str
|
|
626
|
-
:param page_size: Limits the number of items to be returned.
|
|
660
|
+
: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.
|
|
627
661
|
:type page_size: int
|
|
628
662
|
:param async_req: Whether to execute the request asynchronously.
|
|
629
663
|
:type async_req: bool, optional
|
|
@@ -647,7 +681,7 @@ class WalletsApi(object):
|
|
|
647
681
|
:return: Returns the result object.
|
|
648
682
|
If the method is called asynchronously,
|
|
649
683
|
returns the request thread.
|
|
650
|
-
:rtype: tuple(
|
|
684
|
+
:rtype: tuple(ListWalletBallance200Response, status_code(int), headers(HTTPHeaderDict))
|
|
651
685
|
"""
|
|
652
686
|
|
|
653
687
|
_params = locals()
|
|
@@ -679,7 +713,7 @@ class WalletsApi(object):
|
|
|
679
713
|
if _key not in _all_params:
|
|
680
714
|
raise ApiTypeError(
|
|
681
715
|
"Got an unexpected keyword argument '%s'"
|
|
682
|
-
" to method
|
|
716
|
+
" to method list_wallet_ballance" % _key
|
|
683
717
|
)
|
|
684
718
|
_params[_key] = _val
|
|
685
719
|
del _params['kwargs']
|
|
@@ -730,11 +764,11 @@ class WalletsApi(object):
|
|
|
730
764
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
731
765
|
|
|
732
766
|
_response_types_map = {
|
|
733
|
-
'200': "
|
|
767
|
+
'200': "ListWalletBallance200Response",
|
|
734
768
|
}
|
|
735
769
|
|
|
736
770
|
return self.api_client.call_api(
|
|
737
|
-
'/wallets/{id}/
|
|
771
|
+
'/v1/w3s/wallets/{id}/balances', 'GET',
|
|
738
772
|
_path_params,
|
|
739
773
|
_query_params,
|
|
740
774
|
_header_params,
|
|
@@ -752,33 +786,31 @@ class WalletsApi(object):
|
|
|
752
786
|
|
|
753
787
|
@auto_fill
|
|
754
788
|
@validate_arguments
|
|
755
|
-
def
|
|
756
|
-
"""
|
|
789
|
+
def list_wallet_nfts(self, id : Annotated[StrictStr, Field(..., description="Wallet ID")], include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, name : Annotated[Optional[StrictStr], Field(description="Filter by token name.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token addresses.")] = None, standard : Annotated[Optional[StrictStr], Field(description="Filter by the token standard.")] = 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) -> ListWalletNfts200Response: # noqa: E501
|
|
790
|
+
"""Get NFTs for a wallet # noqa: E501
|
|
757
791
|
|
|
758
|
-
|
|
792
|
+
Fetches the info for all NFTs stored in a single developer-controlled wallet, using the wallets unique identifier. # noqa: E501
|
|
759
793
|
This method makes a synchronous HTTP request by default. To make an
|
|
760
794
|
asynchronous HTTP request, please pass async_req=True
|
|
761
795
|
|
|
762
|
-
>>> thread = api.
|
|
796
|
+
>>> thread = api.list_wallet_nfts(id, include_all, name, token_address, standard, page_before, page_after, page_size, async_req=True)
|
|
763
797
|
>>> result = thread.get()
|
|
764
798
|
|
|
765
|
-
:param
|
|
766
|
-
:type
|
|
767
|
-
:param
|
|
768
|
-
:type
|
|
769
|
-
:param
|
|
770
|
-
:type
|
|
771
|
-
:param
|
|
772
|
-
:type
|
|
773
|
-
:param
|
|
774
|
-
:type
|
|
775
|
-
:param
|
|
776
|
-
:type to: datetime
|
|
777
|
-
:param page_before: 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 conjuction with pageAfter.
|
|
799
|
+
:param id: Wallet ID (required)
|
|
800
|
+
:type id: str
|
|
801
|
+
:param include_all: Return all recourses with monitored and non-monitored tokens.
|
|
802
|
+
:type include_all: bool
|
|
803
|
+
:param name: Filter by token name.
|
|
804
|
+
:type name: str
|
|
805
|
+
:param token_address: Filter by token addresses.
|
|
806
|
+
:type token_address: str
|
|
807
|
+
:param standard: Filter by the token standard.
|
|
808
|
+
:type standard: str
|
|
809
|
+
:param page_before: 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.
|
|
778
810
|
:type page_before: str
|
|
779
|
-
:param page_after: 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
|
|
811
|
+
:param page_after: 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.
|
|
780
812
|
:type page_after: str
|
|
781
|
-
:param page_size: Limits the number of items to be returned.
|
|
813
|
+
: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.
|
|
782
814
|
:type page_size: int
|
|
783
815
|
:param async_req: Whether to execute the request asynchronously.
|
|
784
816
|
:type async_req: bool, optional
|
|
@@ -789,42 +821,40 @@ class WalletsApi(object):
|
|
|
789
821
|
:return: Returns the result object.
|
|
790
822
|
If the method is called asynchronously,
|
|
791
823
|
returns the request thread.
|
|
792
|
-
:rtype:
|
|
824
|
+
:rtype: ListWalletNfts200Response
|
|
793
825
|
"""
|
|
794
826
|
kwargs['_return_http_data_only'] = True
|
|
795
827
|
if '_preload_content' in kwargs:
|
|
796
|
-
raise ValueError("Error! Please call the
|
|
797
|
-
return self.
|
|
828
|
+
raise ValueError("Error! Please call the list_wallet_nfts_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
829
|
+
return self.list_wallet_nfts_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, **kwargs) # noqa: E501
|
|
798
830
|
|
|
799
831
|
@auto_fill
|
|
800
832
|
@validate_arguments
|
|
801
|
-
def
|
|
802
|
-
"""
|
|
833
|
+
def list_wallet_nfts_with_http_info(self, id : Annotated[StrictStr, Field(..., description="Wallet ID")], include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, name : Annotated[Optional[StrictStr], Field(description="Filter by token name.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token addresses.")] = None, standard : Annotated[Optional[StrictStr], Field(description="Filter by the token standard.")] = 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
|
|
834
|
+
"""Get NFTs for a wallet # noqa: E501
|
|
803
835
|
|
|
804
|
-
|
|
836
|
+
Fetches the info for all NFTs stored in a single developer-controlled wallet, using the wallets unique identifier. # noqa: E501
|
|
805
837
|
This method makes a synchronous HTTP request by default. To make an
|
|
806
838
|
asynchronous HTTP request, please pass async_req=True
|
|
807
839
|
|
|
808
|
-
>>> thread = api.
|
|
840
|
+
>>> thread = api.list_wallet_nfts_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, async_req=True)
|
|
809
841
|
>>> result = thread.get()
|
|
810
842
|
|
|
811
|
-
:param
|
|
812
|
-
:type
|
|
813
|
-
:param
|
|
814
|
-
:type
|
|
815
|
-
:param
|
|
816
|
-
:type
|
|
817
|
-
:param
|
|
818
|
-
:type
|
|
819
|
-
:param
|
|
820
|
-
:type
|
|
821
|
-
:param
|
|
822
|
-
:type to: datetime
|
|
823
|
-
:param page_before: 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 conjuction with pageAfter.
|
|
843
|
+
:param id: Wallet ID (required)
|
|
844
|
+
:type id: str
|
|
845
|
+
:param include_all: Return all recourses with monitored and non-monitored tokens.
|
|
846
|
+
:type include_all: bool
|
|
847
|
+
:param name: Filter by token name.
|
|
848
|
+
:type name: str
|
|
849
|
+
:param token_address: Filter by token addresses.
|
|
850
|
+
:type token_address: str
|
|
851
|
+
:param standard: Filter by the token standard.
|
|
852
|
+
:type standard: str
|
|
853
|
+
:param page_before: 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.
|
|
824
854
|
:type page_before: str
|
|
825
|
-
:param page_after: 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
|
|
855
|
+
:param page_after: 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.
|
|
826
856
|
:type page_after: str
|
|
827
|
-
:param page_size: Limits the number of items to be returned.
|
|
857
|
+
: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.
|
|
828
858
|
:type page_size: int
|
|
829
859
|
:param async_req: Whether to execute the request asynchronously.
|
|
830
860
|
:type async_req: bool, optional
|
|
@@ -848,18 +878,17 @@ class WalletsApi(object):
|
|
|
848
878
|
:return: Returns the result object.
|
|
849
879
|
If the method is called asynchronously,
|
|
850
880
|
returns the request thread.
|
|
851
|
-
:rtype: tuple(
|
|
881
|
+
:rtype: tuple(ListWalletNfts200Response, status_code(int), headers(HTTPHeaderDict))
|
|
852
882
|
"""
|
|
853
883
|
|
|
854
884
|
_params = locals()
|
|
855
885
|
|
|
856
886
|
_all_params = [
|
|
857
|
-
'
|
|
858
|
-
'
|
|
859
|
-
'
|
|
860
|
-
'
|
|
861
|
-
'
|
|
862
|
-
'to',
|
|
887
|
+
'id',
|
|
888
|
+
'include_all',
|
|
889
|
+
'name',
|
|
890
|
+
'token_address',
|
|
891
|
+
'standard',
|
|
863
892
|
'page_before',
|
|
864
893
|
'page_after',
|
|
865
894
|
'page_size'
|
|
@@ -881,7 +910,7 @@ class WalletsApi(object):
|
|
|
881
910
|
if _key not in _all_params:
|
|
882
911
|
raise ApiTypeError(
|
|
883
912
|
"Got an unexpected keyword argument '%s'"
|
|
884
|
-
" to method
|
|
913
|
+
" to method list_wallet_nfts" % _key
|
|
885
914
|
)
|
|
886
915
|
_params[_key] = _val
|
|
887
916
|
del _params['kwargs']
|
|
@@ -890,32 +919,23 @@ class WalletsApi(object):
|
|
|
890
919
|
|
|
891
920
|
# process the path parameters
|
|
892
921
|
_path_params = {}
|
|
922
|
+
if _params['id']:
|
|
923
|
+
_path_params['id'] = _params['id']
|
|
924
|
+
|
|
893
925
|
|
|
894
926
|
# process the query parameters
|
|
895
927
|
_query_params = []
|
|
896
|
-
if _params.get('
|
|
897
|
-
_query_params.append(('
|
|
898
|
-
|
|
899
|
-
if _params.get('blockchain') is not None: # noqa: E501
|
|
900
|
-
_query_params.append(('blockchain', _params['blockchain']))
|
|
901
|
-
|
|
902
|
-
if _params.get('wallet_set_id') is not None: # noqa: E501
|
|
903
|
-
_query_params.append(('walletSetId', _params['wallet_set_id']))
|
|
928
|
+
if _params.get('include_all') is not None: # noqa: E501
|
|
929
|
+
_query_params.append(('includeAll', _params['include_all']))
|
|
904
930
|
|
|
905
|
-
if _params.get('
|
|
906
|
-
_query_params.append(('
|
|
931
|
+
if _params.get('name') is not None: # noqa: E501
|
|
932
|
+
_query_params.append(('name', _params['name']))
|
|
907
933
|
|
|
908
|
-
if _params.get('
|
|
909
|
-
|
|
910
|
-
_query_params.append(('from', _params['var_from'].strftime(self.api_client.configuration.datetime_format)))
|
|
911
|
-
else:
|
|
912
|
-
_query_params.append(('from', _params['var_from']))
|
|
934
|
+
if _params.get('token_address') is not None: # noqa: E501
|
|
935
|
+
_query_params.append(('tokenAddress', _params['token_address']))
|
|
913
936
|
|
|
914
|
-
if _params.get('
|
|
915
|
-
|
|
916
|
-
_query_params.append(('to', _params['to'].strftime(self.api_client.configuration.datetime_format)))
|
|
917
|
-
else:
|
|
918
|
-
_query_params.append(('to', _params['to']))
|
|
937
|
+
if _params.get('standard') is not None: # noqa: E501
|
|
938
|
+
_query_params.append(('standard', _params['standard']))
|
|
919
939
|
|
|
920
940
|
if _params.get('page_before') is not None: # noqa: E501
|
|
921
941
|
_query_params.append(('pageBefore', _params['page_before']))
|
|
@@ -941,11 +961,11 @@ class WalletsApi(object):
|
|
|
941
961
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
942
962
|
|
|
943
963
|
_response_types_map = {
|
|
944
|
-
'200': "
|
|
964
|
+
'200': "ListWalletNfts200Response",
|
|
945
965
|
}
|
|
946
966
|
|
|
947
967
|
return self.api_client.call_api(
|
|
948
|
-
'/wallets', 'GET',
|
|
968
|
+
'/v1/w3s/wallets/{id}/nfts', 'GET',
|
|
949
969
|
_path_params,
|
|
950
970
|
_query_params,
|
|
951
971
|
_header_params,
|
|
@@ -963,20 +983,22 @@ class WalletsApi(object):
|
|
|
963
983
|
|
|
964
984
|
@auto_fill
|
|
965
985
|
@validate_arguments
|
|
966
|
-
def update_wallet(self, id : Annotated[StrictStr, Field(..., description="
|
|
986
|
+
def update_wallet(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier (UUID v4) of the resource.")], update_wallet_request : Annotated[UpdateWalletRequest, Field(..., description="Schema for the request payload to update an existing wallet.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> Wallet2: # noqa: E501
|
|
967
987
|
"""Update a wallet # noqa: E501
|
|
968
988
|
|
|
969
|
-
Updates info
|
|
989
|
+
Updates info metadata of a wallet. # noqa: E501
|
|
970
990
|
This method makes a synchronous HTTP request by default. To make an
|
|
971
991
|
asynchronous HTTP request, please pass async_req=True
|
|
972
992
|
|
|
973
|
-
>>> thread = api.update_wallet(id,
|
|
993
|
+
>>> thread = api.update_wallet(id, update_wallet_request, x_request_id, async_req=True)
|
|
974
994
|
>>> result = thread.get()
|
|
975
995
|
|
|
976
|
-
:param id:
|
|
996
|
+
:param id: The universally unique identifier (UUID v4) of the resource. (required)
|
|
977
997
|
:type id: str
|
|
978
|
-
:param
|
|
979
|
-
:type
|
|
998
|
+
:param update_wallet_request: Schema for the request payload to update an existing wallet. (required)
|
|
999
|
+
:type update_wallet_request: UpdateWalletRequest
|
|
1000
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1001
|
+
:type x_request_id: str
|
|
980
1002
|
:param async_req: Whether to execute the request asynchronously.
|
|
981
1003
|
:type async_req: bool, optional
|
|
982
1004
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -986,29 +1008,31 @@ class WalletsApi(object):
|
|
|
986
1008
|
:return: Returns the result object.
|
|
987
1009
|
If the method is called asynchronously,
|
|
988
1010
|
returns the request thread.
|
|
989
|
-
:rtype:
|
|
1011
|
+
:rtype: Wallet2
|
|
990
1012
|
"""
|
|
991
1013
|
kwargs['_return_http_data_only'] = True
|
|
992
1014
|
if '_preload_content' in kwargs:
|
|
993
1015
|
raise ValueError("Error! Please call the update_wallet_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
994
|
-
return self.update_wallet_with_http_info(id,
|
|
1016
|
+
return self.update_wallet_with_http_info(id, update_wallet_request, x_request_id, **kwargs) # noqa: E501
|
|
995
1017
|
|
|
996
1018
|
@auto_fill
|
|
997
1019
|
@validate_arguments
|
|
998
|
-
def update_wallet_with_http_info(self, id : Annotated[StrictStr, Field(..., description="
|
|
1020
|
+
def update_wallet_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier (UUID v4) of the resource.")], update_wallet_request : Annotated[UpdateWalletRequest, Field(..., description="Schema for the request payload to update an existing wallet.")], 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
|
|
999
1021
|
"""Update a wallet # noqa: E501
|
|
1000
1022
|
|
|
1001
|
-
Updates info
|
|
1023
|
+
Updates info metadata of a wallet. # noqa: E501
|
|
1002
1024
|
This method makes a synchronous HTTP request by default. To make an
|
|
1003
1025
|
asynchronous HTTP request, please pass async_req=True
|
|
1004
1026
|
|
|
1005
|
-
>>> thread = api.update_wallet_with_http_info(id,
|
|
1027
|
+
>>> thread = api.update_wallet_with_http_info(id, update_wallet_request, x_request_id, async_req=True)
|
|
1006
1028
|
>>> result = thread.get()
|
|
1007
1029
|
|
|
1008
|
-
:param id:
|
|
1030
|
+
:param id: The universally unique identifier (UUID v4) of the resource. (required)
|
|
1009
1031
|
:type id: str
|
|
1010
|
-
:param
|
|
1011
|
-
:type
|
|
1032
|
+
:param update_wallet_request: Schema for the request payload to update an existing wallet. (required)
|
|
1033
|
+
:type update_wallet_request: UpdateWalletRequest
|
|
1034
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1035
|
+
:type x_request_id: str
|
|
1012
1036
|
:param async_req: Whether to execute the request asynchronously.
|
|
1013
1037
|
:type async_req: bool, optional
|
|
1014
1038
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -1031,14 +1055,15 @@ class WalletsApi(object):
|
|
|
1031
1055
|
:return: Returns the result object.
|
|
1032
1056
|
If the method is called asynchronously,
|
|
1033
1057
|
returns the request thread.
|
|
1034
|
-
:rtype: tuple(
|
|
1058
|
+
:rtype: tuple(Wallet2, status_code(int), headers(HTTPHeaderDict))
|
|
1035
1059
|
"""
|
|
1036
1060
|
|
|
1037
1061
|
_params = locals()
|
|
1038
1062
|
|
|
1039
1063
|
_all_params = [
|
|
1040
1064
|
'id',
|
|
1041
|
-
'
|
|
1065
|
+
'update_wallet_request',
|
|
1066
|
+
'x_request_id'
|
|
1042
1067
|
]
|
|
1043
1068
|
_all_params.extend(
|
|
1044
1069
|
[
|
|
@@ -1074,13 +1099,16 @@ class WalletsApi(object):
|
|
|
1074
1099
|
_query_params = []
|
|
1075
1100
|
# process the header parameters
|
|
1076
1101
|
_header_params = dict(_params.get('_headers', {}))
|
|
1102
|
+
if _params['x_request_id']:
|
|
1103
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
1104
|
+
|
|
1077
1105
|
# process the form parameters
|
|
1078
1106
|
_form_params = []
|
|
1079
1107
|
_files = {}
|
|
1080
1108
|
# process the body parameter
|
|
1081
1109
|
_body_params = None
|
|
1082
|
-
if _params['
|
|
1083
|
-
_body_params = _params['
|
|
1110
|
+
if _params['update_wallet_request'] is not None:
|
|
1111
|
+
_body_params = _params['update_wallet_request']
|
|
1084
1112
|
|
|
1085
1113
|
# set the HTTP header `Accept`
|
|
1086
1114
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
@@ -1097,11 +1125,14 @@ class WalletsApi(object):
|
|
|
1097
1125
|
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
1098
1126
|
|
|
1099
1127
|
_response_types_map = {
|
|
1100
|
-
'200': "
|
|
1128
|
+
'200': "Wallet2",
|
|
1129
|
+
'400': "BadRequestResponse",
|
|
1130
|
+
'401': "NotAuthorizedResponse",
|
|
1131
|
+
'404': "NotFoundResponse",
|
|
1101
1132
|
}
|
|
1102
1133
|
|
|
1103
1134
|
return self.api_client.call_api(
|
|
1104
|
-
'/wallets/{id}', 'PUT',
|
|
1135
|
+
'/v1/w3s/wallets/{id}', 'PUT',
|
|
1105
1136
|
_path_params,
|
|
1106
1137
|
_query_params,
|
|
1107
1138
|
_header_params,
|