circle-developer-controlled-wallets 5.1.0__py3-none-any.whl → 5.3.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 +12 -1
- circle/web3/developer_controlled_wallets/api/signing_api.py +4 -4
- circle/web3/developer_controlled_wallets/api/token_lookup_api.py +1 -1
- circle/web3/developer_controlled_wallets/api/transactions_api.py +154 -0
- circle/web3/developer_controlled_wallets/api/wallets_api.py +428 -5
- 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 +11 -0
- circle/web3/developer_controlled_wallets/models/backfill_wallet_request.py +89 -0
- circle/web3/developer_controlled_wallets/models/balance.py +1 -1
- circle/web3/developer_controlled_wallets/models/blockchain.py +4 -0
- circle/web3/developer_controlled_wallets/models/contract_execution_blockchain.py +4 -0
- circle/web3/developer_controlled_wallets/models/create_wallet_upgrade_transaction_for_developer.py +87 -0
- circle/web3/developer_controlled_wallets/models/create_wallet_upgrade_transaction_for_developer_request.py +103 -0
- circle/web3/developer_controlled_wallets/models/eoa_wallet_with_balances.py +127 -0
- circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request.py +1 -1
- circle/web3/developer_controlled_wallets/models/evm_blockchain.py +48 -0
- circle/web3/developer_controlled_wallets/models/new_sca_core.py +35 -0
- circle/web3/developer_controlled_wallets/models/sca_core.py +38 -0
- circle/web3/developer_controlled_wallets/models/sca_wallet.py +2 -1
- circle/web3/developer_controlled_wallets/models/sca_wallet_with_balances.py +130 -0
- circle/web3/developer_controlled_wallets/models/token_blockchain.py +4 -0
- circle/web3/developer_controlled_wallets/models/transaction_fee.py +1 -1
- circle/web3/developer_controlled_wallets/models/wallets_with_balances.py +87 -0
- circle/web3/developer_controlled_wallets/models/wallets_with_balances_data.py +91 -0
- circle/web3/developer_controlled_wallets/models/wallets_with_balances_data_wallets_inner.py +140 -0
- {circle_developer_controlled_wallets-5.1.0.dist-info → circle_developer_controlled_wallets-5.3.0.dist-info}/METADATA +4 -4
- {circle_developer_controlled_wallets-5.1.0.dist-info → circle_developer_controlled_wallets-5.3.0.dist-info}/RECORD +30 -19
- {circle_developer_controlled_wallets-5.1.0.dist-info → circle_developer_controlled_wallets-5.3.0.dist-info}/WHEEL +1 -1
- {circle_developer_controlled_wallets-5.1.0.dist-info → circle_developer_controlled_wallets-5.3.0.dist-info}/top_level.txt +0 -0
|
@@ -22,14 +22,17 @@ 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.backfill_wallet_request import BackfillWalletRequest
|
|
25
26
|
from circle.web3.developer_controlled_wallets.models.balances import Balances
|
|
26
27
|
from circle.web3.developer_controlled_wallets.models.blockchain import Blockchain
|
|
27
28
|
from circle.web3.developer_controlled_wallets.models.create_wallet_request import CreateWalletRequest
|
|
28
29
|
from circle.web3.developer_controlled_wallets.models.nfts import Nfts
|
|
30
|
+
from circle.web3.developer_controlled_wallets.models.sca_core import ScaCore
|
|
29
31
|
from circle.web3.developer_controlled_wallets.models.token_standard import TokenStandard
|
|
30
32
|
from circle.web3.developer_controlled_wallets.models.update_wallet_request import UpdateWalletRequest
|
|
31
33
|
from circle.web3.developer_controlled_wallets.models.wallet_response import WalletResponse
|
|
32
34
|
from circle.web3.developer_controlled_wallets.models.wallets import Wallets
|
|
35
|
+
from circle.web3.developer_controlled_wallets.models.wallets_with_balances import WalletsWithBalances
|
|
33
36
|
|
|
34
37
|
from circle.web3.developer_controlled_wallets.api_client import ApiClient
|
|
35
38
|
from circle.web3.developer_controlled_wallets.api_response import ApiResponse
|
|
@@ -67,6 +70,174 @@ class WalletsApi(object):
|
|
|
67
70
|
api_client = ApiClient.get_default()
|
|
68
71
|
self.api_client = api_client
|
|
69
72
|
|
|
73
|
+
@auto_fill
|
|
74
|
+
@validate_arguments
|
|
75
|
+
def backfill_wallet(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], backfill_wallet_request : Annotated[BackfillWalletRequest, Field(..., description="Defines the request payload schema for backfilling 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) -> WalletResponse: # noqa: E501
|
|
76
|
+
"""Backfill a wallet # noqa: E501
|
|
77
|
+
|
|
78
|
+
Backfills an Externally Owned Account (EOA) wallet using the specified wallet address and blockchain. This operation is supported only for EVM-based blockchains. # noqa: E501
|
|
79
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
80
|
+
asynchronous HTTP request, please pass async_req=True
|
|
81
|
+
|
|
82
|
+
>>> thread = api.backfill_wallet(id, backfill_wallet_request, x_request_id, async_req=True)
|
|
83
|
+
>>> result = thread.get()
|
|
84
|
+
|
|
85
|
+
:param id: The universally unique identifier of the resource. (required)
|
|
86
|
+
:type id: str
|
|
87
|
+
:param backfill_wallet_request: Defines the request payload schema for backfilling a new wallet. (required)
|
|
88
|
+
:type backfill_wallet_request: BackfillWalletRequest
|
|
89
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
90
|
+
:type x_request_id: str
|
|
91
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
92
|
+
:type async_req: bool, optional
|
|
93
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
94
|
+
number provided, it will be total request
|
|
95
|
+
timeout. It can also be a pair (tuple) of
|
|
96
|
+
(connection, read) timeouts.
|
|
97
|
+
:return: Returns the result object.
|
|
98
|
+
If the method is called asynchronously,
|
|
99
|
+
returns the request thread.
|
|
100
|
+
:rtype: WalletResponse
|
|
101
|
+
"""
|
|
102
|
+
kwargs['_return_http_data_only'] = True
|
|
103
|
+
if '_preload_content' in kwargs:
|
|
104
|
+
raise ValueError("Error! Please call the backfill_wallet_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
105
|
+
return self.backfill_wallet_with_http_info(id, backfill_wallet_request, x_request_id, **kwargs) # noqa: E501
|
|
106
|
+
|
|
107
|
+
@auto_fill
|
|
108
|
+
@validate_arguments
|
|
109
|
+
def backfill_wallet_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], backfill_wallet_request : Annotated[BackfillWalletRequest, Field(..., description="Defines the request payload schema for backfilling 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
|
|
110
|
+
"""Backfill a wallet # noqa: E501
|
|
111
|
+
|
|
112
|
+
Backfills an Externally Owned Account (EOA) wallet using the specified wallet address and blockchain. This operation is supported only for EVM-based blockchains. # noqa: E501
|
|
113
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
114
|
+
asynchronous HTTP request, please pass async_req=True
|
|
115
|
+
|
|
116
|
+
>>> thread = api.backfill_wallet_with_http_info(id, backfill_wallet_request, x_request_id, async_req=True)
|
|
117
|
+
>>> result = thread.get()
|
|
118
|
+
|
|
119
|
+
:param id: The universally unique identifier of the resource. (required)
|
|
120
|
+
:type id: str
|
|
121
|
+
:param backfill_wallet_request: Defines the request payload schema for backfilling a new wallet. (required)
|
|
122
|
+
:type backfill_wallet_request: BackfillWalletRequest
|
|
123
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
124
|
+
:type x_request_id: str
|
|
125
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
126
|
+
:type async_req: bool, optional
|
|
127
|
+
:param _preload_content: if False, the ApiResponse.data will
|
|
128
|
+
be set to none and raw_data will store the
|
|
129
|
+
HTTP response body without reading/decoding.
|
|
130
|
+
Default is True.
|
|
131
|
+
:type _preload_content: bool, optional
|
|
132
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
|
133
|
+
object with status code, headers, etc
|
|
134
|
+
:type _return_http_data_only: bool, optional
|
|
135
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
136
|
+
number provided, it will be total request
|
|
137
|
+
timeout. It can also be a pair (tuple) of
|
|
138
|
+
(connection, read) timeouts.
|
|
139
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
140
|
+
request; this effectively ignores the authentication
|
|
141
|
+
in the spec for a single request.
|
|
142
|
+
:type _request_auth: dict, optional
|
|
143
|
+
:type _content_type: string, optional: force content-type for the request
|
|
144
|
+
:return: Returns the result object.
|
|
145
|
+
If the method is called asynchronously,
|
|
146
|
+
returns the request thread.
|
|
147
|
+
:rtype: tuple(WalletResponse, status_code(int), headers(HTTPHeaderDict))
|
|
148
|
+
"""
|
|
149
|
+
|
|
150
|
+
_params = locals()
|
|
151
|
+
|
|
152
|
+
_all_params = [
|
|
153
|
+
'id',
|
|
154
|
+
'backfill_wallet_request',
|
|
155
|
+
'x_request_id'
|
|
156
|
+
]
|
|
157
|
+
_all_params.extend(
|
|
158
|
+
[
|
|
159
|
+
'async_req',
|
|
160
|
+
'_return_http_data_only',
|
|
161
|
+
'_preload_content',
|
|
162
|
+
'_request_timeout',
|
|
163
|
+
'_request_auth',
|
|
164
|
+
'_content_type',
|
|
165
|
+
'_headers'
|
|
166
|
+
]
|
|
167
|
+
)
|
|
168
|
+
|
|
169
|
+
# validate the arguments
|
|
170
|
+
for _key, _val in _params['kwargs'].items():
|
|
171
|
+
if _key not in _all_params:
|
|
172
|
+
raise ApiTypeError(
|
|
173
|
+
"Got an unexpected keyword argument '%s'"
|
|
174
|
+
" to method backfill_wallet" % _key
|
|
175
|
+
)
|
|
176
|
+
_params[_key] = _val
|
|
177
|
+
del _params['kwargs']
|
|
178
|
+
|
|
179
|
+
_collection_formats = {}
|
|
180
|
+
|
|
181
|
+
# process the path parameters
|
|
182
|
+
_path_params = {}
|
|
183
|
+
if _params['id']:
|
|
184
|
+
_path_params['id'] = _params['id']
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
# process the query parameters
|
|
188
|
+
_query_params = []
|
|
189
|
+
# process the header parameters
|
|
190
|
+
_header_params = dict(_params.get('_headers', {}))
|
|
191
|
+
if _params['x_request_id']:
|
|
192
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
193
|
+
|
|
194
|
+
# process the form parameters
|
|
195
|
+
_form_params = []
|
|
196
|
+
_files = {}
|
|
197
|
+
# process the body parameter
|
|
198
|
+
_body_params = None
|
|
199
|
+
if _params['backfill_wallet_request'] is not None:
|
|
200
|
+
_body_params = _params['backfill_wallet_request']
|
|
201
|
+
|
|
202
|
+
# set the HTTP header `Accept`
|
|
203
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
204
|
+
['application/json']) # noqa: E501
|
|
205
|
+
|
|
206
|
+
# set the HTTP header `Content-Type`
|
|
207
|
+
_content_types_list = _params.get('_content_type',
|
|
208
|
+
self.api_client.select_header_content_type(
|
|
209
|
+
['application/json']))
|
|
210
|
+
if _content_types_list:
|
|
211
|
+
_header_params['Content-Type'] = _content_types_list
|
|
212
|
+
|
|
213
|
+
# authentication setting
|
|
214
|
+
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
215
|
+
|
|
216
|
+
_response_types_map = {
|
|
217
|
+
'200': "WalletResponse",
|
|
218
|
+
'201': "WalletResponse",
|
|
219
|
+
'400': "BadRequestResponse",
|
|
220
|
+
'401': "NotAuthorizedResponse",
|
|
221
|
+
'404': "NotFoundResponse",
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
return self.api_client.call_api(
|
|
225
|
+
'/v1/w3s/developer/wallets/{id}/backfill', 'PUT',
|
|
226
|
+
_path_params,
|
|
227
|
+
_query_params,
|
|
228
|
+
_header_params,
|
|
229
|
+
body=_body_params,
|
|
230
|
+
post_params=_form_params,
|
|
231
|
+
files=_files,
|
|
232
|
+
response_types_map=_response_types_map,
|
|
233
|
+
auth_settings=_auth_settings,
|
|
234
|
+
async_req=_params.get('async_req'),
|
|
235
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
|
236
|
+
_preload_content=_params.get('_preload_content', True),
|
|
237
|
+
_request_timeout=_params.get('_request_timeout'),
|
|
238
|
+
collection_formats=_collection_formats,
|
|
239
|
+
_request_auth=_params.get('_request_auth'))
|
|
240
|
+
|
|
70
241
|
@auto_fill
|
|
71
242
|
@validate_arguments
|
|
72
243
|
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
|
|
@@ -380,20 +551,22 @@ class WalletsApi(object):
|
|
|
380
551
|
|
|
381
552
|
@auto_fill
|
|
382
553
|
@validate_arguments
|
|
383
|
-
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
|
|
554
|
+
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, sca_core : Annotated[Optional[ScaCore], Field(description="Filters results by the SCA version.")] = 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
|
|
384
555
|
"""List wallets # noqa: E501
|
|
385
556
|
|
|
386
557
|
Retrieves a list of all wallets that fit the specified parameters. # noqa: E501
|
|
387
558
|
This method makes a synchronous HTTP request by default. To make an
|
|
388
559
|
asynchronous HTTP request, please pass async_req=True
|
|
389
560
|
|
|
390
|
-
>>> thread = api.get_wallets(address, blockchain, wallet_set_id, ref_id, var_from, to, page_before, page_after, page_size, async_req=True)
|
|
561
|
+
>>> thread = api.get_wallets(address, blockchain, sca_core, wallet_set_id, ref_id, var_from, to, page_before, page_after, page_size, async_req=True)
|
|
391
562
|
>>> result = thread.get()
|
|
392
563
|
|
|
393
564
|
:param address: Filter by the blockchain address of the wallet.
|
|
394
565
|
:type address: str
|
|
395
566
|
:param blockchain: Filter by blockchain.
|
|
396
567
|
:type blockchain: Blockchain
|
|
568
|
+
:param sca_core: Filters results by the SCA version.
|
|
569
|
+
:type sca_core: ScaCore
|
|
397
570
|
:param wallet_set_id: Filter by the wallet set.
|
|
398
571
|
:type wallet_set_id: str
|
|
399
572
|
:param ref_id: Filter by the reference identifier.
|
|
@@ -422,24 +595,26 @@ class WalletsApi(object):
|
|
|
422
595
|
kwargs['_return_http_data_only'] = True
|
|
423
596
|
if '_preload_content' in kwargs:
|
|
424
597
|
raise ValueError("Error! Please call the get_wallets_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
425
|
-
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
|
|
598
|
+
return self.get_wallets_with_http_info(address, blockchain, sca_core, wallet_set_id, ref_id, var_from, to, page_before, page_after, page_size, **kwargs) # noqa: E501
|
|
426
599
|
|
|
427
600
|
@auto_fill
|
|
428
601
|
@validate_arguments
|
|
429
|
-
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
|
|
602
|
+
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, sca_core : Annotated[Optional[ScaCore], Field(description="Filters results by the SCA version.")] = 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
|
|
430
603
|
"""List wallets # noqa: E501
|
|
431
604
|
|
|
432
605
|
Retrieves a list of all wallets that fit the specified parameters. # noqa: E501
|
|
433
606
|
This method makes a synchronous HTTP request by default. To make an
|
|
434
607
|
asynchronous HTTP request, please pass async_req=True
|
|
435
608
|
|
|
436
|
-
>>> 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)
|
|
609
|
+
>>> thread = api.get_wallets_with_http_info(address, blockchain, sca_core, wallet_set_id, ref_id, var_from, to, page_before, page_after, page_size, async_req=True)
|
|
437
610
|
>>> result = thread.get()
|
|
438
611
|
|
|
439
612
|
:param address: Filter by the blockchain address of the wallet.
|
|
440
613
|
:type address: str
|
|
441
614
|
:param blockchain: Filter by blockchain.
|
|
442
615
|
:type blockchain: Blockchain
|
|
616
|
+
:param sca_core: Filters results by the SCA version.
|
|
617
|
+
:type sca_core: ScaCore
|
|
443
618
|
:param wallet_set_id: Filter by the wallet set.
|
|
444
619
|
:type wallet_set_id: str
|
|
445
620
|
:param ref_id: Filter by the reference identifier.
|
|
@@ -484,6 +659,7 @@ class WalletsApi(object):
|
|
|
484
659
|
_all_params = [
|
|
485
660
|
'address',
|
|
486
661
|
'blockchain',
|
|
662
|
+
'sca_core',
|
|
487
663
|
'wallet_set_id',
|
|
488
664
|
'ref_id',
|
|
489
665
|
'var_from',
|
|
@@ -527,6 +703,9 @@ class WalletsApi(object):
|
|
|
527
703
|
if _params.get('blockchain') is not None: # noqa: E501
|
|
528
704
|
_query_params.append(('blockchain', _params['blockchain'].value))
|
|
529
705
|
|
|
706
|
+
if _params.get('sca_core') is not None: # noqa: E501
|
|
707
|
+
_query_params.append(('scaCore', _params['sca_core'].value))
|
|
708
|
+
|
|
530
709
|
if _params.get('wallet_set_id') is not None: # noqa: E501
|
|
531
710
|
_query_params.append(('walletSetId', _params['wallet_set_id']))
|
|
532
711
|
|
|
@@ -590,6 +769,250 @@ class WalletsApi(object):
|
|
|
590
769
|
collection_formats=_collection_formats,
|
|
591
770
|
_request_auth=_params.get('_request_auth'))
|
|
592
771
|
|
|
772
|
+
@auto_fill
|
|
773
|
+
@validate_arguments
|
|
774
|
+
def get_wallets_with_balances(self, blockchain : Annotated[Blockchain, Field(..., description="Filter by blockchain.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, address : Annotated[Optional[StrictStr], Field(description="Filter by the blockchain address of the wallet.")] = None, sca_core : Annotated[Optional[ScaCore], Field(description="Filters results by the SCA version.")] = 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, amount__gte : Annotated[Optional[StrictStr], Field(description="Filters wallets with a balance greater than or equal to the specified amount. If `tokenAddress` is provided, the filter applies to the specified token; otherwise, it applies to the native token.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token address.")] = 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) -> WalletsWithBalances: # noqa: E501
|
|
775
|
+
"""List wallets with balances # noqa: E501
|
|
776
|
+
|
|
777
|
+
Retrieves a list of wallets that match the specified parameters, including native token balances and, if specified, USDC/EURC balances. Balances update automatically with transfers or using the [Get token balance for a wallet](https://developers.circle.com/api-reference/w3s/developer-controlled-wallets/list-wallet-balance) endpoint for accuracy. # noqa: E501
|
|
778
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
779
|
+
asynchronous HTTP request, please pass async_req=True
|
|
780
|
+
|
|
781
|
+
>>> thread = api.get_wallets_with_balances(blockchain, x_request_id, address, sca_core, wallet_set_id, ref_id, amount__gte, token_address, var_from, to, page_before, page_after, page_size, async_req=True)
|
|
782
|
+
>>> result = thread.get()
|
|
783
|
+
|
|
784
|
+
:param blockchain: Filter by blockchain. (required)
|
|
785
|
+
:type blockchain: Blockchain
|
|
786
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
787
|
+
:type x_request_id: str
|
|
788
|
+
:param address: Filter by the blockchain address of the wallet.
|
|
789
|
+
:type address: str
|
|
790
|
+
:param sca_core: Filters results by the SCA version.
|
|
791
|
+
:type sca_core: ScaCore
|
|
792
|
+
:param wallet_set_id: Filter by the wallet set.
|
|
793
|
+
:type wallet_set_id: str
|
|
794
|
+
:param ref_id: Filter by the reference identifier.
|
|
795
|
+
:type ref_id: str
|
|
796
|
+
:param amount__gte: Filters wallets with a balance greater than or equal to the specified amount. If `tokenAddress` is provided, the filter applies to the specified token; otherwise, it applies to the native token.
|
|
797
|
+
:type amount__gte: str
|
|
798
|
+
:param token_address: Filter by token address.
|
|
799
|
+
:type token_address: str
|
|
800
|
+
:param var_from: Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
801
|
+
:type var_from: datetime
|
|
802
|
+
:param to: Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
803
|
+
:type to: datetime
|
|
804
|
+
: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.
|
|
805
|
+
:type page_before: str
|
|
806
|
+
: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.
|
|
807
|
+
:type page_after: str
|
|
808
|
+
: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.
|
|
809
|
+
:type page_size: int
|
|
810
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
811
|
+
:type async_req: bool, optional
|
|
812
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
813
|
+
number provided, it will be total request
|
|
814
|
+
timeout. It can also be a pair (tuple) of
|
|
815
|
+
(connection, read) timeouts.
|
|
816
|
+
:return: Returns the result object.
|
|
817
|
+
If the method is called asynchronously,
|
|
818
|
+
returns the request thread.
|
|
819
|
+
:rtype: WalletsWithBalances
|
|
820
|
+
"""
|
|
821
|
+
kwargs['_return_http_data_only'] = True
|
|
822
|
+
if '_preload_content' in kwargs:
|
|
823
|
+
raise ValueError("Error! Please call the get_wallets_with_balances_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
824
|
+
return self.get_wallets_with_balances_with_http_info(blockchain, x_request_id, address, sca_core, wallet_set_id, ref_id, amount__gte, token_address, var_from, to, page_before, page_after, page_size, **kwargs) # noqa: E501
|
|
825
|
+
|
|
826
|
+
@auto_fill
|
|
827
|
+
@validate_arguments
|
|
828
|
+
def get_wallets_with_balances_with_http_info(self, blockchain : Annotated[Blockchain, Field(..., description="Filter by blockchain.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, address : Annotated[Optional[StrictStr], Field(description="Filter by the blockchain address of the wallet.")] = None, sca_core : Annotated[Optional[ScaCore], Field(description="Filters results by the SCA version.")] = 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, amount__gte : Annotated[Optional[StrictStr], Field(description="Filters wallets with a balance greater than or equal to the specified amount. If `tokenAddress` is provided, the filter applies to the specified token; otherwise, it applies to the native token.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token address.")] = 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
|
|
829
|
+
"""List wallets with balances # noqa: E501
|
|
830
|
+
|
|
831
|
+
Retrieves a list of wallets that match the specified parameters, including native token balances and, if specified, USDC/EURC balances. Balances update automatically with transfers or using the [Get token balance for a wallet](https://developers.circle.com/api-reference/w3s/developer-controlled-wallets/list-wallet-balance) endpoint for accuracy. # noqa: E501
|
|
832
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
833
|
+
asynchronous HTTP request, please pass async_req=True
|
|
834
|
+
|
|
835
|
+
>>> thread = api.get_wallets_with_balances_with_http_info(blockchain, x_request_id, address, sca_core, wallet_set_id, ref_id, amount__gte, token_address, var_from, to, page_before, page_after, page_size, async_req=True)
|
|
836
|
+
>>> result = thread.get()
|
|
837
|
+
|
|
838
|
+
:param blockchain: Filter by blockchain. (required)
|
|
839
|
+
:type blockchain: Blockchain
|
|
840
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
841
|
+
:type x_request_id: str
|
|
842
|
+
:param address: Filter by the blockchain address of the wallet.
|
|
843
|
+
:type address: str
|
|
844
|
+
:param sca_core: Filters results by the SCA version.
|
|
845
|
+
:type sca_core: ScaCore
|
|
846
|
+
:param wallet_set_id: Filter by the wallet set.
|
|
847
|
+
:type wallet_set_id: str
|
|
848
|
+
:param ref_id: Filter by the reference identifier.
|
|
849
|
+
:type ref_id: str
|
|
850
|
+
:param amount__gte: Filters wallets with a balance greater than or equal to the specified amount. If `tokenAddress` is provided, the filter applies to the specified token; otherwise, it applies to the native token.
|
|
851
|
+
:type amount__gte: str
|
|
852
|
+
:param token_address: Filter by token address.
|
|
853
|
+
:type token_address: str
|
|
854
|
+
:param var_from: Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
855
|
+
:type var_from: datetime
|
|
856
|
+
:param to: Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
857
|
+
:type to: datetime
|
|
858
|
+
: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.
|
|
859
|
+
:type page_before: str
|
|
860
|
+
: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.
|
|
861
|
+
:type page_after: str
|
|
862
|
+
: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.
|
|
863
|
+
:type page_size: int
|
|
864
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
865
|
+
:type async_req: bool, optional
|
|
866
|
+
:param _preload_content: if False, the ApiResponse.data will
|
|
867
|
+
be set to none and raw_data will store the
|
|
868
|
+
HTTP response body without reading/decoding.
|
|
869
|
+
Default is True.
|
|
870
|
+
:type _preload_content: bool, optional
|
|
871
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
|
872
|
+
object with status code, headers, etc
|
|
873
|
+
:type _return_http_data_only: bool, optional
|
|
874
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
875
|
+
number provided, it will be total request
|
|
876
|
+
timeout. It can also be a pair (tuple) of
|
|
877
|
+
(connection, read) timeouts.
|
|
878
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
879
|
+
request; this effectively ignores the authentication
|
|
880
|
+
in the spec for a single request.
|
|
881
|
+
:type _request_auth: dict, optional
|
|
882
|
+
:type _content_type: string, optional: force content-type for the request
|
|
883
|
+
:return: Returns the result object.
|
|
884
|
+
If the method is called asynchronously,
|
|
885
|
+
returns the request thread.
|
|
886
|
+
:rtype: tuple(WalletsWithBalances, status_code(int), headers(HTTPHeaderDict))
|
|
887
|
+
"""
|
|
888
|
+
|
|
889
|
+
_params = locals()
|
|
890
|
+
|
|
891
|
+
_all_params = [
|
|
892
|
+
'blockchain',
|
|
893
|
+
'x_request_id',
|
|
894
|
+
'address',
|
|
895
|
+
'sca_core',
|
|
896
|
+
'wallet_set_id',
|
|
897
|
+
'ref_id',
|
|
898
|
+
'amount__gte',
|
|
899
|
+
'token_address',
|
|
900
|
+
'var_from',
|
|
901
|
+
'to',
|
|
902
|
+
'page_before',
|
|
903
|
+
'page_after',
|
|
904
|
+
'page_size'
|
|
905
|
+
]
|
|
906
|
+
_all_params.extend(
|
|
907
|
+
[
|
|
908
|
+
'async_req',
|
|
909
|
+
'_return_http_data_only',
|
|
910
|
+
'_preload_content',
|
|
911
|
+
'_request_timeout',
|
|
912
|
+
'_request_auth',
|
|
913
|
+
'_content_type',
|
|
914
|
+
'_headers'
|
|
915
|
+
]
|
|
916
|
+
)
|
|
917
|
+
|
|
918
|
+
# validate the arguments
|
|
919
|
+
for _key, _val in _params['kwargs'].items():
|
|
920
|
+
if _key not in _all_params:
|
|
921
|
+
raise ApiTypeError(
|
|
922
|
+
"Got an unexpected keyword argument '%s'"
|
|
923
|
+
" to method get_wallets_with_balances" % _key
|
|
924
|
+
)
|
|
925
|
+
_params[_key] = _val
|
|
926
|
+
del _params['kwargs']
|
|
927
|
+
|
|
928
|
+
_collection_formats = {}
|
|
929
|
+
|
|
930
|
+
# process the path parameters
|
|
931
|
+
_path_params = {}
|
|
932
|
+
|
|
933
|
+
# process the query parameters
|
|
934
|
+
_query_params = []
|
|
935
|
+
if _params.get('blockchain') is not None: # noqa: E501
|
|
936
|
+
_query_params.append(('blockchain', _params['blockchain'].value))
|
|
937
|
+
|
|
938
|
+
if _params.get('address') is not None: # noqa: E501
|
|
939
|
+
_query_params.append(('address', _params['address']))
|
|
940
|
+
|
|
941
|
+
if _params.get('sca_core') is not None: # noqa: E501
|
|
942
|
+
_query_params.append(('scaCore', _params['sca_core'].value))
|
|
943
|
+
|
|
944
|
+
if _params.get('wallet_set_id') is not None: # noqa: E501
|
|
945
|
+
_query_params.append(('walletSetId', _params['wallet_set_id']))
|
|
946
|
+
|
|
947
|
+
if _params.get('ref_id') is not None: # noqa: E501
|
|
948
|
+
_query_params.append(('refId', _params['ref_id']))
|
|
949
|
+
|
|
950
|
+
if _params.get('amount__gte') is not None: # noqa: E501
|
|
951
|
+
_query_params.append(('amount__gte', _params['amount__gte']))
|
|
952
|
+
|
|
953
|
+
if _params.get('token_address') is not None: # noqa: E501
|
|
954
|
+
_query_params.append(('tokenAddress', _params['token_address']))
|
|
955
|
+
|
|
956
|
+
if _params.get('var_from') is not None: # noqa: E501
|
|
957
|
+
if isinstance(_params['var_from'], datetime):
|
|
958
|
+
_query_params.append(('from', _params['var_from'].strftime(self.api_client.configuration.datetime_format)))
|
|
959
|
+
else:
|
|
960
|
+
_query_params.append(('from', _params['var_from']))
|
|
961
|
+
|
|
962
|
+
if _params.get('to') is not None: # noqa: E501
|
|
963
|
+
if isinstance(_params['to'], datetime):
|
|
964
|
+
_query_params.append(('to', _params['to'].strftime(self.api_client.configuration.datetime_format)))
|
|
965
|
+
else:
|
|
966
|
+
_query_params.append(('to', _params['to']))
|
|
967
|
+
|
|
968
|
+
if _params.get('page_before') is not None: # noqa: E501
|
|
969
|
+
_query_params.append(('pageBefore', _params['page_before']))
|
|
970
|
+
|
|
971
|
+
if _params.get('page_after') is not None: # noqa: E501
|
|
972
|
+
_query_params.append(('pageAfter', _params['page_after']))
|
|
973
|
+
|
|
974
|
+
if _params.get('page_size') is not None: # noqa: E501
|
|
975
|
+
_query_params.append(('pageSize', _params['page_size']))
|
|
976
|
+
|
|
977
|
+
# process the header parameters
|
|
978
|
+
_header_params = dict(_params.get('_headers', {}))
|
|
979
|
+
if _params['x_request_id']:
|
|
980
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
981
|
+
|
|
982
|
+
# process the form parameters
|
|
983
|
+
_form_params = []
|
|
984
|
+
_files = {}
|
|
985
|
+
# process the body parameter
|
|
986
|
+
_body_params = None
|
|
987
|
+
# set the HTTP header `Accept`
|
|
988
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
989
|
+
['application/json']) # noqa: E501
|
|
990
|
+
|
|
991
|
+
# authentication setting
|
|
992
|
+
_auth_settings = ['BearerAuth'] # noqa: E501
|
|
993
|
+
|
|
994
|
+
_response_types_map = {
|
|
995
|
+
'200': "WalletsWithBalances",
|
|
996
|
+
'401': "NotAuthorizedResponse",
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
return self.api_client.call_api(
|
|
1000
|
+
'/v1/w3s/developer/wallets/balances', 'GET',
|
|
1001
|
+
_path_params,
|
|
1002
|
+
_query_params,
|
|
1003
|
+
_header_params,
|
|
1004
|
+
body=_body_params,
|
|
1005
|
+
post_params=_form_params,
|
|
1006
|
+
files=_files,
|
|
1007
|
+
response_types_map=_response_types_map,
|
|
1008
|
+
auth_settings=_auth_settings,
|
|
1009
|
+
async_req=_params.get('async_req'),
|
|
1010
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
|
1011
|
+
_preload_content=_params.get('_preload_content', True),
|
|
1012
|
+
_request_timeout=_params.get('_request_timeout'),
|
|
1013
|
+
collection_formats=_collection_formats,
|
|
1014
|
+
_request_auth=_params.get('_request_auth'))
|
|
1015
|
+
|
|
593
1016
|
@auto_fill
|
|
594
1017
|
@validate_arguments
|
|
595
1018
|
def list_wallet_balance(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 address.")] = None, standard : Annotated[Optional[TokenStandard], Field(description="Filter by the token standard. ERC20/ERC721/ERC1155 are the standards for EVM chains, Fungible/FungibleAsset/NonFungible/NonFungibleEdition/ProgrammableNonFungible/ProgrammableNonFungibleEdition are the standards for the Solana chain.")] = 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) -> Balances: # noqa: E501
|
|
@@ -77,7 +77,7 @@ class ApiClient(object):
|
|
|
77
77
|
self.default_headers[header_name] = header_value
|
|
78
78
|
self.cookie = cookie
|
|
79
79
|
# Set default User-Agent.
|
|
80
|
-
self.user_agent = (user_agent + ' / ' if user_agent else '') + 'CircleWeb3PythonSDK / DeveloperControlledWallets / 5.
|
|
80
|
+
self.user_agent = (user_agent + ' / ' if user_agent else '') + 'CircleWeb3PythonSDK / DeveloperControlledWallets / 5.3.0'
|
|
81
81
|
self.client_side_validation = configuration.client_side_validation
|
|
82
82
|
|
|
83
83
|
def __enter__(self):
|
|
@@ -383,7 +383,7 @@ class Configuration(object):
|
|
|
383
383
|
"OS: {env}\n"\
|
|
384
384
|
"Python Version: {pyversion}\n"\
|
|
385
385
|
"Version of the API: 1.0\n"\
|
|
386
|
-
"SDK Package Version: 5.
|
|
386
|
+
"SDK Package Version: 5.3.0".\
|
|
387
387
|
format(env=sys.platform, pyversion=sys.version)
|
|
388
388
|
|
|
389
389
|
def get_host_settings(self):
|
|
@@ -15,6 +15,7 @@ from circle.web3.developer_controlled_wallets.models.accelerate_transaction_for_
|
|
|
15
15
|
from circle.web3.developer_controlled_wallets.models.accelerate_transaction_for_developer_data import AccelerateTransactionForDeveloperData
|
|
16
16
|
from circle.web3.developer_controlled_wallets.models.accelerate_transaction_for_developer_request import AccelerateTransactionForDeveloperRequest
|
|
17
17
|
from circle.web3.developer_controlled_wallets.models.account_type import AccountType
|
|
18
|
+
from circle.web3.developer_controlled_wallets.models.backfill_wallet_request import BackfillWalletRequest
|
|
18
19
|
from circle.web3.developer_controlled_wallets.models.bad_request_response import BadRequestResponse
|
|
19
20
|
from circle.web3.developer_controlled_wallets.models.balance import Balance
|
|
20
21
|
from circle.web3.developer_controlled_wallets.models.balances import Balances
|
|
@@ -31,16 +32,21 @@ from circle.web3.developer_controlled_wallets.models.create_transfer_transaction
|
|
|
31
32
|
from circle.web3.developer_controlled_wallets.models.create_transfer_transaction_for_developer_response_data import CreateTransferTransactionForDeveloperResponseData
|
|
32
33
|
from circle.web3.developer_controlled_wallets.models.create_wallet_request import CreateWalletRequest
|
|
33
34
|
from circle.web3.developer_controlled_wallets.models.create_wallet_set_request import CreateWalletSetRequest
|
|
35
|
+
from circle.web3.developer_controlled_wallets.models.create_wallet_upgrade_transaction_for_developer import CreateWalletUpgradeTransactionForDeveloper
|
|
36
|
+
from circle.web3.developer_controlled_wallets.models.create_wallet_upgrade_transaction_for_developer_request import CreateWalletUpgradeTransactionForDeveloperRequest
|
|
34
37
|
from circle.web3.developer_controlled_wallets.models.custody_type import CustodyType
|
|
35
38
|
from circle.web3.developer_controlled_wallets.models.developer_wallet_set import DeveloperWalletSet
|
|
36
39
|
from circle.web3.developer_controlled_wallets.models.eoa_wallet import EOAWallet
|
|
40
|
+
from circle.web3.developer_controlled_wallets.models.eoa_wallet_with_balances import EOAWalletWithBalances
|
|
37
41
|
from circle.web3.developer_controlled_wallets.models.end_user_wallet_set import EndUserWalletSet
|
|
38
42
|
from circle.web3.developer_controlled_wallets.models.error import Error
|
|
39
43
|
from circle.web3.developer_controlled_wallets.models.estimate_contract_execution_transaction_fee_request import EstimateContractExecutionTransactionFeeRequest
|
|
40
44
|
from circle.web3.developer_controlled_wallets.models.estimate_transaction_fee import EstimateTransactionFee
|
|
41
45
|
from circle.web3.developer_controlled_wallets.models.estimate_transaction_fee_data import EstimateTransactionFeeData
|
|
42
46
|
from circle.web3.developer_controlled_wallets.models.estimate_transfer_transaction_fee_request import EstimateTransferTransactionFeeRequest
|
|
47
|
+
from circle.web3.developer_controlled_wallets.models.evm_blockchain import EvmBlockchain
|
|
43
48
|
from circle.web3.developer_controlled_wallets.models.fee_level import FeeLevel
|
|
49
|
+
from circle.web3.developer_controlled_wallets.models.new_sca_core import NewScaCore
|
|
44
50
|
from circle.web3.developer_controlled_wallets.models.nft import Nft
|
|
45
51
|
from circle.web3.developer_controlled_wallets.models.nfts import Nfts
|
|
46
52
|
from circle.web3.developer_controlled_wallets.models.nfts_data import NftsData
|
|
@@ -53,6 +59,8 @@ from circle.web3.developer_controlled_wallets.models.risk_score import RiskScore
|
|
|
53
59
|
from circle.web3.developer_controlled_wallets.models.risk_signal import RiskSignal
|
|
54
60
|
from circle.web3.developer_controlled_wallets.models.risk_type import RiskType
|
|
55
61
|
from circle.web3.developer_controlled_wallets.models.sca_wallet import SCAWallet
|
|
62
|
+
from circle.web3.developer_controlled_wallets.models.sca_wallet_with_balances import SCAWalletWithBalances
|
|
63
|
+
from circle.web3.developer_controlled_wallets.models.sca_core import ScaCore
|
|
56
64
|
from circle.web3.developer_controlled_wallets.models.sign_delegate_action_request import SignDelegateActionRequest
|
|
57
65
|
from circle.web3.developer_controlled_wallets.models.sign_delegate_action_response import SignDelegateActionResponse
|
|
58
66
|
from circle.web3.developer_controlled_wallets.models.sign_delegate_action_response_data import SignDelegateActionResponseData
|
|
@@ -96,3 +104,6 @@ from circle.web3.developer_controlled_wallets.models.wallet_state import WalletS
|
|
|
96
104
|
from circle.web3.developer_controlled_wallets.models.wallets import Wallets
|
|
97
105
|
from circle.web3.developer_controlled_wallets.models.wallets_data import WalletsData
|
|
98
106
|
from circle.web3.developer_controlled_wallets.models.wallets_data_wallets_inner import WalletsDataWalletsInner
|
|
107
|
+
from circle.web3.developer_controlled_wallets.models.wallets_with_balances import WalletsWithBalances
|
|
108
|
+
from circle.web3.developer_controlled_wallets.models.wallets_with_balances_data import WalletsWithBalancesData
|
|
109
|
+
from circle.web3.developer_controlled_wallets.models.wallets_with_balances_data_wallets_inner import WalletsWithBalancesDataWalletsInner
|