circle-developer-controlled-wallets 5.3.0__py3-none-any.whl → 6.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.

Files changed (17) hide show
  1. circle/web3/developer_controlled_wallets/__init__.py +2 -2
  2. circle/web3/developer_controlled_wallets/api/wallet_sets_api.py +2 -2
  3. circle/web3/developer_controlled_wallets/api/wallets_api.py +65 -56
  4. circle/web3/developer_controlled_wallets/api_client.py +1 -1
  5. circle/web3/developer_controlled_wallets/configuration.py +1 -1
  6. circle/web3/developer_controlled_wallets/models/__init__.py +1 -1
  7. circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer_request.py +4 -4
  8. circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request.py +4 -4
  9. circle/web3/developer_controlled_wallets/models/create_wallet_upgrade_transaction_for_developer_request.py +4 -4
  10. circle/web3/developer_controlled_wallets/models/{backfill_wallet_request.py → derive_wallet_request.py} +10 -12
  11. circle/web3/developer_controlled_wallets/models/fee_level.py +1 -1
  12. circle/web3/developer_controlled_wallets/models/transaction.py +1 -1
  13. circle/web3/developer_controlled_wallets/models/transaction_fee.py +4 -4
  14. {circle_developer_controlled_wallets-5.3.0.dist-info → circle_developer_controlled_wallets-6.1.0.dist-info}/METADATA +4 -4
  15. {circle_developer_controlled_wallets-5.3.0.dist-info → circle_developer_controlled_wallets-6.1.0.dist-info}/RECORD +17 -17
  16. {circle_developer_controlled_wallets-5.3.0.dist-info → circle_developer_controlled_wallets-6.1.0.dist-info}/WHEEL +1 -1
  17. {circle_developer_controlled_wallets-5.3.0.dist-info → circle_developer_controlled_wallets-6.1.0.dist-info}/top_level.txt +0 -0
@@ -10,7 +10,7 @@
10
10
  """ # noqa: E501
11
11
 
12
12
 
13
- __version__ = "5.3.0"
13
+ __version__ = "6.1.0"
14
14
 
15
15
  # import apis into sdk package
16
16
  from circle.web3.developer_controlled_wallets.api.signing_api import SigningApi
@@ -36,7 +36,6 @@ from circle.web3.developer_controlled_wallets.models.accelerate_transaction_for_
36
36
  from circle.web3.developer_controlled_wallets.models.accelerate_transaction_for_developer_data import AccelerateTransactionForDeveloperData
37
37
  from circle.web3.developer_controlled_wallets.models.accelerate_transaction_for_developer_request import AccelerateTransactionForDeveloperRequest
38
38
  from circle.web3.developer_controlled_wallets.models.account_type import AccountType
39
- from circle.web3.developer_controlled_wallets.models.backfill_wallet_request import BackfillWalletRequest
40
39
  from circle.web3.developer_controlled_wallets.models.bad_request_response import BadRequestResponse
41
40
  from circle.web3.developer_controlled_wallets.models.balance import Balance
42
41
  from circle.web3.developer_controlled_wallets.models.balances import Balances
@@ -56,6 +55,7 @@ from circle.web3.developer_controlled_wallets.models.create_wallet_set_request i
56
55
  from circle.web3.developer_controlled_wallets.models.create_wallet_upgrade_transaction_for_developer import CreateWalletUpgradeTransactionForDeveloper
57
56
  from circle.web3.developer_controlled_wallets.models.create_wallet_upgrade_transaction_for_developer_request import CreateWalletUpgradeTransactionForDeveloperRequest
58
57
  from circle.web3.developer_controlled_wallets.models.custody_type import CustodyType
58
+ from circle.web3.developer_controlled_wallets.models.derive_wallet_request import DeriveWalletRequest
59
59
  from circle.web3.developer_controlled_wallets.models.developer_wallet_set import DeveloperWalletSet
60
60
  from circle.web3.developer_controlled_wallets.models.eoa_wallet import EOAWallet
61
61
  from circle.web3.developer_controlled_wallets.models.eoa_wallet_with_balances import EOAWalletWithBalances
@@ -68,7 +68,7 @@ class WalletSetsApi(object):
68
68
  def create_wallet_set(self, create_wallet_set_request : Annotated[CreateWalletSetRequest, Field(..., description="Schema for the request payload to create a new wallet set.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> WalletSetResponse: # noqa: E501
69
69
  """Create a new wallet set # noqa: E501
70
70
 
71
- Create a developer controlled wallet set. # noqa: E501
71
+ Creates a new developer-controlled wallet set. **Note:** A developer account can create up to 1,000 wallet sets, with each set supporting up to 10 million wallets. To ensure EVM wallets are created with the same address across chains, see [Unified Wallet Addressing on EVM Chains](/w3s/unified-wallet-addressing-evm). # noqa: E501
72
72
  This method makes a synchronous HTTP request by default. To make an
73
73
  asynchronous HTTP request, please pass async_req=True
74
74
 
@@ -100,7 +100,7 @@ class WalletSetsApi(object):
100
100
  def create_wallet_set_with_http_info(self, create_wallet_set_request : Annotated[CreateWalletSetRequest, Field(..., description="Schema for the request payload to create a new wallet set.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
101
101
  """Create a new wallet set # noqa: E501
102
102
 
103
- Create a developer controlled wallet set. # noqa: E501
103
+ Creates a new developer-controlled wallet set. **Note:** A developer account can create up to 1,000 wallet sets, with each set supporting up to 10 million wallets. To ensure EVM wallets are created with the same address across chains, see [Unified Wallet Addressing on EVM Chains](/w3s/unified-wallet-addressing-evm). # noqa: E501
104
104
  This method makes a synchronous HTTP request by default. To make an
105
105
  asynchronous HTTP request, please pass async_req=True
106
106
 
@@ -22,10 +22,11 @@ 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
26
25
  from circle.web3.developer_controlled_wallets.models.balances import Balances
27
26
  from circle.web3.developer_controlled_wallets.models.blockchain import Blockchain
28
27
  from circle.web3.developer_controlled_wallets.models.create_wallet_request import CreateWalletRequest
28
+ from circle.web3.developer_controlled_wallets.models.derive_wallet_request import DeriveWalletRequest
29
+ from circle.web3.developer_controlled_wallets.models.evm_blockchain import EvmBlockchain
29
30
  from circle.web3.developer_controlled_wallets.models.nfts import Nfts
30
31
  from circle.web3.developer_controlled_wallets.models.sca_core import ScaCore
31
32
  from circle.web3.developer_controlled_wallets.models.token_standard import TokenStandard
@@ -72,20 +73,18 @@ class WalletsApi(object):
72
73
 
73
74
  @auto_fill
74
75
  @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
76
+ 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
77
+ """Create wallets # noqa: E501
77
78
 
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
+ Creates a new developer-controlled wallet or a batch of wallets within a wallet set, given the target blockchain and wallet name. **Note:** Each `walletSetId` supports a maximum of 10 million wallets. # noqa: E501
79
80
  This method makes a synchronous HTTP request by default. To make an
80
81
  asynchronous HTTP request, please pass async_req=True
81
82
 
82
- >>> thread = api.backfill_wallet(id, backfill_wallet_request, x_request_id, async_req=True)
83
+ >>> thread = api.create_wallet(create_wallet_request, x_request_id, async_req=True)
83
84
  >>> result = thread.get()
84
85
 
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
86
+ :param create_wallet_request: Schema for the request payload to create a new wallet. (required)
87
+ :type create_wallet_request: CreateWalletRequest
89
88
  :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
90
89
  :type x_request_id: str
91
90
  :param async_req: Whether to execute the request asynchronously.
@@ -97,29 +96,27 @@ class WalletsApi(object):
97
96
  :return: Returns the result object.
98
97
  If the method is called asynchronously,
99
98
  returns the request thread.
100
- :rtype: WalletResponse
99
+ :rtype: Wallets
101
100
  """
102
101
  kwargs['_return_http_data_only'] = True
103
102
  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
103
+ raise ValueError("Error! Please call the create_wallet_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
104
+ return self.create_wallet_with_http_info(create_wallet_request, x_request_id, **kwargs) # noqa: E501
106
105
 
107
106
  @auto_fill
108
107
  @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
108
+ 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
109
+ """Create wallets # noqa: E501
111
110
 
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
111
+ Creates a new developer-controlled wallet or a batch of wallets within a wallet set, given the target blockchain and wallet name. **Note:** Each `walletSetId` supports a maximum of 10 million wallets. # noqa: E501
113
112
  This method makes a synchronous HTTP request by default. To make an
114
113
  asynchronous HTTP request, please pass async_req=True
115
114
 
116
- >>> thread = api.backfill_wallet_with_http_info(id, backfill_wallet_request, x_request_id, async_req=True)
115
+ >>> thread = api.create_wallet_with_http_info(create_wallet_request, x_request_id, async_req=True)
117
116
  >>> result = thread.get()
118
117
 
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
118
+ :param create_wallet_request: Schema for the request payload to create a new wallet. (required)
119
+ :type create_wallet_request: CreateWalletRequest
123
120
  :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
124
121
  :type x_request_id: str
125
122
  :param async_req: Whether to execute the request asynchronously.
@@ -144,14 +141,13 @@ class WalletsApi(object):
144
141
  :return: Returns the result object.
145
142
  If the method is called asynchronously,
146
143
  returns the request thread.
147
- :rtype: tuple(WalletResponse, status_code(int), headers(HTTPHeaderDict))
144
+ :rtype: tuple(Wallets, status_code(int), headers(HTTPHeaderDict))
148
145
  """
149
146
 
150
147
  _params = locals()
151
148
 
152
149
  _all_params = [
153
- 'id',
154
- 'backfill_wallet_request',
150
+ 'create_wallet_request',
155
151
  'x_request_id'
156
152
  ]
157
153
  _all_params.extend(
@@ -171,7 +167,7 @@ class WalletsApi(object):
171
167
  if _key not in _all_params:
172
168
  raise ApiTypeError(
173
169
  "Got an unexpected keyword argument '%s'"
174
- " to method backfill_wallet" % _key
170
+ " to method create_wallet" % _key
175
171
  )
176
172
  _params[_key] = _val
177
173
  del _params['kwargs']
@@ -180,9 +176,6 @@ class WalletsApi(object):
180
176
 
181
177
  # process the path parameters
182
178
  _path_params = {}
183
- if _params['id']:
184
- _path_params['id'] = _params['id']
185
-
186
179
 
187
180
  # process the query parameters
188
181
  _query_params = []
@@ -196,8 +189,8 @@ class WalletsApi(object):
196
189
  _files = {}
197
190
  # process the body parameter
198
191
  _body_params = None
199
- if _params['backfill_wallet_request'] is not None:
200
- _body_params = _params['backfill_wallet_request']
192
+ if _params['create_wallet_request'] is not None:
193
+ _body_params = _params['create_wallet_request']
201
194
 
202
195
  # set the HTTP header `Accept`
203
196
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -214,15 +207,15 @@ class WalletsApi(object):
214
207
  _auth_settings = ['BearerAuth'] # noqa: E501
215
208
 
216
209
  _response_types_map = {
217
- '200': "WalletResponse",
218
- '201': "WalletResponse",
210
+ '200': "Wallets",
211
+ '201': "Wallets",
219
212
  '400': "BadRequestResponse",
220
213
  '401': "NotAuthorizedResponse",
221
214
  '404': "NotFoundResponse",
222
215
  }
223
216
 
224
217
  return self.api_client.call_api(
225
- '/v1/w3s/developer/wallets/{id}/backfill', 'PUT',
218
+ '/v1/w3s/developer/wallets', 'POST',
226
219
  _path_params,
227
220
  _query_params,
228
221
  _header_params,
@@ -240,20 +233,24 @@ class WalletsApi(object):
240
233
 
241
234
  @auto_fill
242
235
  @validate_arguments
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
244
- """Create wallets # noqa: E501
236
+ def derive_wallet(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], blockchain : Annotated[EvmBlockchain, Field(..., description="The unique identifier of the blockchains.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, derive_wallet_request : Annotated[Optional[DeriveWalletRequest], Field(description="Defines the request payload schema for deriving a new wallet.")] = None, **kwargs) -> WalletResponse: # noqa: E501
237
+ """Derive a wallet # noqa: E501
245
238
 
246
- Generates a new developer-controlled wallet or batch of wallets within a wallet set, specifying blockchain and wallet name. # noqa: E501
239
+ Derives an EOA (Externally Owned Account) or SCA (Smart Contract Account) wallet using the address of the specified wallet and blockchain. If the target wallet already exists, its metadata will be updated with the provided metadata. This operation is only supported for EVM-based blockchains. # noqa: E501
247
240
  This method makes a synchronous HTTP request by default. To make an
248
241
  asynchronous HTTP request, please pass async_req=True
249
242
 
250
- >>> thread = api.create_wallet(create_wallet_request, x_request_id, async_req=True)
243
+ >>> thread = api.derive_wallet(id, blockchain, x_request_id, derive_wallet_request, async_req=True)
251
244
  >>> result = thread.get()
252
245
 
253
- :param create_wallet_request: Schema for the request payload to create a new wallet. (required)
254
- :type create_wallet_request: CreateWalletRequest
246
+ :param id: The universally unique identifier of the resource. (required)
247
+ :type id: str
248
+ :param blockchain: The unique identifier of the blockchains. (required)
249
+ :type blockchain: EvmBlockchain
255
250
  :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
256
251
  :type x_request_id: str
252
+ :param derive_wallet_request: Defines the request payload schema for deriving a new wallet.
253
+ :type derive_wallet_request: DeriveWalletRequest
257
254
  :param async_req: Whether to execute the request asynchronously.
258
255
  :type async_req: bool, optional
259
256
  :param _request_timeout: timeout setting for this request. If one
@@ -263,29 +260,33 @@ class WalletsApi(object):
263
260
  :return: Returns the result object.
264
261
  If the method is called asynchronously,
265
262
  returns the request thread.
266
- :rtype: Wallets
263
+ :rtype: WalletResponse
267
264
  """
268
265
  kwargs['_return_http_data_only'] = True
269
266
  if '_preload_content' in kwargs:
270
- raise ValueError("Error! Please call the create_wallet_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
271
- return self.create_wallet_with_http_info(create_wallet_request, x_request_id, **kwargs) # noqa: E501
267
+ raise ValueError("Error! Please call the derive_wallet_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
268
+ return self.derive_wallet_with_http_info(id, blockchain, x_request_id, derive_wallet_request, **kwargs) # noqa: E501
272
269
 
273
270
  @auto_fill
274
271
  @validate_arguments
275
- 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
276
- """Create wallets # noqa: E501
272
+ def derive_wallet_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier of the resource.")], blockchain : Annotated[EvmBlockchain, Field(..., description="The unique identifier of the blockchains.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, derive_wallet_request : Annotated[Optional[DeriveWalletRequest], Field(description="Defines the request payload schema for deriving a new wallet.")] = None, **kwargs) -> ApiResponse: # noqa: E501
273
+ """Derive a wallet # noqa: E501
277
274
 
278
- Generates a new developer-controlled wallet or batch of wallets within a wallet set, specifying blockchain and wallet name. # noqa: E501
275
+ Derives an EOA (Externally Owned Account) or SCA (Smart Contract Account) wallet using the address of the specified wallet and blockchain. If the target wallet already exists, its metadata will be updated with the provided metadata. This operation is only supported for EVM-based blockchains. # noqa: E501
279
276
  This method makes a synchronous HTTP request by default. To make an
280
277
  asynchronous HTTP request, please pass async_req=True
281
278
 
282
- >>> thread = api.create_wallet_with_http_info(create_wallet_request, x_request_id, async_req=True)
279
+ >>> thread = api.derive_wallet_with_http_info(id, blockchain, x_request_id, derive_wallet_request, async_req=True)
283
280
  >>> result = thread.get()
284
281
 
285
- :param create_wallet_request: Schema for the request payload to create a new wallet. (required)
286
- :type create_wallet_request: CreateWalletRequest
282
+ :param id: The universally unique identifier of the resource. (required)
283
+ :type id: str
284
+ :param blockchain: The unique identifier of the blockchains. (required)
285
+ :type blockchain: EvmBlockchain
287
286
  :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
288
287
  :type x_request_id: str
288
+ :param derive_wallet_request: Defines the request payload schema for deriving a new wallet.
289
+ :type derive_wallet_request: DeriveWalletRequest
289
290
  :param async_req: Whether to execute the request asynchronously.
290
291
  :type async_req: bool, optional
291
292
  :param _preload_content: if False, the ApiResponse.data will
@@ -308,14 +309,16 @@ class WalletsApi(object):
308
309
  :return: Returns the result object.
309
310
  If the method is called asynchronously,
310
311
  returns the request thread.
311
- :rtype: tuple(Wallets, status_code(int), headers(HTTPHeaderDict))
312
+ :rtype: tuple(WalletResponse, status_code(int), headers(HTTPHeaderDict))
312
313
  """
313
314
 
314
315
  _params = locals()
315
316
 
316
317
  _all_params = [
317
- 'create_wallet_request',
318
- 'x_request_id'
318
+ 'id',
319
+ 'blockchain',
320
+ 'x_request_id',
321
+ 'derive_wallet_request'
319
322
  ]
320
323
  _all_params.extend(
321
324
  [
@@ -334,7 +337,7 @@ class WalletsApi(object):
334
337
  if _key not in _all_params:
335
338
  raise ApiTypeError(
336
339
  "Got an unexpected keyword argument '%s'"
337
- " to method create_wallet" % _key
340
+ " to method derive_wallet" % _key
338
341
  )
339
342
  _params[_key] = _val
340
343
  del _params['kwargs']
@@ -343,6 +346,12 @@ class WalletsApi(object):
343
346
 
344
347
  # process the path parameters
345
348
  _path_params = {}
349
+ if _params['id']:
350
+ _path_params['id'] = _params['id']
351
+
352
+ if _params['blockchain']:
353
+ _path_params['blockchain'] = _params['blockchain']
354
+
346
355
 
347
356
  # process the query parameters
348
357
  _query_params = []
@@ -356,8 +365,8 @@ class WalletsApi(object):
356
365
  _files = {}
357
366
  # process the body parameter
358
367
  _body_params = None
359
- if _params['create_wallet_request'] is not None:
360
- _body_params = _params['create_wallet_request']
368
+ if _params['derive_wallet_request'] is not None:
369
+ _body_params = _params['derive_wallet_request']
361
370
 
362
371
  # set the HTTP header `Accept`
363
372
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -374,15 +383,15 @@ class WalletsApi(object):
374
383
  _auth_settings = ['BearerAuth'] # noqa: E501
375
384
 
376
385
  _response_types_map = {
377
- '200': "Wallets",
378
- '201': "Wallets",
386
+ '200': "WalletResponse",
387
+ '201': "WalletResponse",
379
388
  '400': "BadRequestResponse",
380
389
  '401': "NotAuthorizedResponse",
381
390
  '404': "NotFoundResponse",
382
391
  }
383
392
 
384
393
  return self.api_client.call_api(
385
- '/v1/w3s/developer/wallets', 'POST',
394
+ '/v1/w3s/developer/wallets/{id}/blockchains/{blockchain}', 'PUT',
386
395
  _path_params,
387
396
  _query_params,
388
397
  _header_params,
@@ -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.3.0'
80
+ self.user_agent = (user_agent + ' / ' if user_agent else '') + 'CircleWeb3PythonSDK / DeveloperControlledWallets / 6.1.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.3.0".\
386
+ "SDK Package Version: 6.1.0".\
387
387
  format(env=sys.platform, pyversion=sys.version)
388
388
 
389
389
  def get_host_settings(self):
@@ -15,7 +15,6 @@ 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
19
18
  from circle.web3.developer_controlled_wallets.models.bad_request_response import BadRequestResponse
20
19
  from circle.web3.developer_controlled_wallets.models.balance import Balance
21
20
  from circle.web3.developer_controlled_wallets.models.balances import Balances
@@ -35,6 +34,7 @@ from circle.web3.developer_controlled_wallets.models.create_wallet_set_request i
35
34
  from circle.web3.developer_controlled_wallets.models.create_wallet_upgrade_transaction_for_developer import CreateWalletUpgradeTransactionForDeveloper
36
35
  from circle.web3.developer_controlled_wallets.models.create_wallet_upgrade_transaction_for_developer_request import CreateWalletUpgradeTransactionForDeveloperRequest
37
36
  from circle.web3.developer_controlled_wallets.models.custody_type import CustodyType
37
+ from circle.web3.developer_controlled_wallets.models.derive_wallet_request import DeriveWalletRequest
38
38
  from circle.web3.developer_controlled_wallets.models.developer_wallet_set import DeveloperWalletSet
39
39
  from circle.web3.developer_controlled_wallets.models.eoa_wallet import EOAWallet
40
40
  from circle.web3.developer_controlled_wallets.models.eoa_wallet_with_balances import EOAWalletWithBalances
@@ -31,10 +31,10 @@ class CreateContractExecutionTransactionForDeveloperRequest(BaseModel):
31
31
  contract_address: StrictStr = Field(..., alias="contractAddress", description="The blockchain address of the contract to be executed.")
32
32
  entity_secret_ciphertext: Union[StrictBytes, StrictStr] = Field(..., alias="entitySecretCiphertext", description="A base64 string expression of the entity secret ciphertext. The entity secret should be encrypted by the entity public key. Circle mandates that the entity secret ciphertext is unique for each API request. ")
33
33
  fee_level: Optional[FeeLevel] = Field(None, alias="feeLevel")
34
- gas_limit: Optional[StrictStr] = Field(None, alias="gasLimit", description="The maximum units of gas to use for the transaction. Required if `feeLevel` is not provided. Estimates for this limit can be obtained through the `POST /transactions/transfer/estimateFee` API. GasLimit override (only supported for EOA wallets): Using `gasLimit` together with `feeLevel`, the provided `gasLimit` is required to be greater or equal to `feeLevel` estimation and will override the estimation's gasLimit. ")
35
- gas_price: Optional[StrictStr] = Field(None, alias="gasPrice", description="For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see `gasLimit`). Requires `gasLimit`. Cannot be used with `feeLevel`, `priorityFee`, or `maxFee`. Estimates for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
36
- max_fee: Optional[StrictStr] = Field(None, alias="maxFee", description="For blockchains with EIP-1559 support, the maximum price per unit of gas (see `gasLimit`), in gwei. Requires `priorityFee`, and `gasLimit` to be present. Cannot be used with `feeLevel` or `gasPrice`. Estimates for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
37
- priority_fee: Optional[StrictStr] = Field(None, alias="priorityFee", description="For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators. Please note that the `maxFee` and `gasLimit` parameters are required alongside the `priorityFee`. The `feeLevel` and `gasPrice` parameters cannot be used with the `priorityFee`. Estimations for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
34
+ gas_limit: Optional[StrictStr] = Field(None, alias="gasLimit", description="The maximum units of gas to use for the transaction. Required if `feeLevel` is not provided. Estimates for this limit can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. GasLimit override (only supported for EOA wallets): Using `gasLimit` together with `feeLevel`, the provided `gasLimit` is required to be greater or equal to `feeLevel` estimation and will override the estimation's gasLimit. ")
35
+ gas_price: Optional[StrictStr] = Field(None, alias="gasPrice", description="For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see `gasLimit`). Requires `gasLimit`. Cannot be used with `feeLevel`, `priorityFee`, or `maxFee`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
36
+ max_fee: Optional[StrictStr] = Field(None, alias="maxFee", description="For blockchains with EIP-1559 support, the maximum price per unit of gas (see `gasLimit`), in gwei. Requires `priorityFee`, and `gasLimit` to be present. Cannot be used with `feeLevel` or `gasPrice`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
37
+ priority_fee: Optional[StrictStr] = Field(None, alias="priorityFee", description="For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators. Please note that the `maxFee` and `gasLimit` parameters are required alongside the `priorityFee`. The `feeLevel` and `gasPrice` parameters cannot be used with the `priorityFee`. Estimations for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
38
38
  ref_id: Optional[StrictStr] = Field(None, alias="refId", description="Optional reference or description used to identify the transaction.")
39
39
  wallet_id: StrictStr = Field(..., alias="walletId", description="Unique system generated identifier of the wallet. Required when `sourceAddress` and `blockchain` are not provided. Mutually exclusive with `sourceAddress` and `blockchain`. For contract deploys this wallet ID will be used as the source. ")
40
40
  __properties = ["idempotencyKey", "abiFunctionSignature", "abiParameters", "callData", "amount", "contractAddress", "entitySecretCiphertext", "feeLevel", "gasLimit", "gasPrice", "maxFee", "priorityFee", "refId", "walletId"]
@@ -28,10 +28,10 @@ class CreateTransferTransactionForDeveloperRequest(BaseModel):
28
28
  destination_address: StrictStr = Field(..., alias="destinationAddress", description="Blockchain generated unique identifier, associated with wallet (account), smart contract or other blockchain objects. ")
29
29
  entity_secret_ciphertext: Union[StrictBytes, StrictStr] = Field(..., alias="entitySecretCiphertext", description="A base64 string expression of the entity secret ciphertext. The entity secret should be encrypted by the entity public key. Circle mandates that the entity secret ciphertext is unique for each API request. ")
30
30
  fee_level: Optional[FeeLevel] = Field(None, alias="feeLevel")
31
- gas_limit: Optional[StrictStr] = Field(None, alias="gasLimit", description="The maximum units of gas to use for the transaction. Required if `feeLevel` is not provided. Estimates for this limit can be obtained through the `POST /transactions/transfer/estimateFee` API. GasLimit override (only supported for EOA wallets): Using `gasLimit` together with `feeLevel`, the provided `gasLimit` is required to be greater or equal to `feeLevel` estimation and will override the estimation's gasLimit. ")
32
- gas_price: Optional[StrictStr] = Field(None, alias="gasPrice", description="For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see `gasLimit`). Requires `gasLimit`. Cannot be used with `feeLevel`, `priorityFee`, or `maxFee`. Estimates for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
33
- max_fee: Optional[StrictStr] = Field(None, alias="maxFee", description="For blockchains with EIP-1559 support, the maximum price per unit of gas (see `gasLimit`), in gwei. Requires `priorityFee`, and `gasLimit` to be present. Cannot be used with `feeLevel` or `gasPrice`. Estimates for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
34
- priority_fee: Optional[StrictStr] = Field(None, alias="priorityFee", description="For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators. Please note that the `maxFee` and `gasLimit` parameters are required alongside the `priorityFee`. The `feeLevel` and `gasPrice` parameters cannot be used with the `priorityFee`. Estimations for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
31
+ gas_limit: Optional[StrictStr] = Field(None, alias="gasLimit", description="The maximum units of gas to use for the transaction. Required if `feeLevel` is not provided. Estimates for this limit can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. GasLimit override (only supported for EOA wallets): Using `gasLimit` together with `feeLevel`, the provided `gasLimit` is required to be greater or equal to `feeLevel` estimation and will override the estimation's gasLimit. ")
32
+ gas_price: Optional[StrictStr] = Field(None, alias="gasPrice", description="For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see `gasLimit`). Requires `gasLimit`. Cannot be used with `feeLevel`, `priorityFee`, or `maxFee`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
33
+ max_fee: Optional[StrictStr] = Field(None, alias="maxFee", description="For blockchains with EIP-1559 support, the maximum price per unit of gas (see `gasLimit`), in gwei. Requires `priorityFee`, and `gasLimit` to be present. Cannot be used with `feeLevel` or `gasPrice`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
34
+ priority_fee: Optional[StrictStr] = Field(None, alias="priorityFee", description="For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators. Please note that the `maxFee` and `gasLimit` parameters are required alongside the `priorityFee`. The `feeLevel` and `gasPrice` parameters cannot be used with the `priorityFee`. Estimations for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
35
35
  nft_token_ids: Optional[conlist(StrictStr)] = Field(None, alias="nftTokenIds", description="List of NFT token IDs corresponding with the NFTs to transfer. Batch transfers are supported only for ERC-1155 tokens. The length of NFT token IDs must match the length of amounts.")
36
36
  ref_id: Optional[StrictStr] = Field(None, alias="refId", description="Optional reference or description used to identify the transaction.")
37
37
  token_id: Optional[StrictStr] = Field(None, alias="tokenId", description="System generated identifier of the token. Excluded with `tokenAddress` and `tokenBlockchain`.")
@@ -27,10 +27,10 @@ class CreateWalletUpgradeTransactionForDeveloperRequest(BaseModel):
27
27
  new_sca_core: NewScaCore = Field(..., alias="newScaCore")
28
28
  entity_secret_ciphertext: Union[StrictBytes, StrictStr] = Field(..., alias="entitySecretCiphertext", description="A base64 string expression of the entity secret ciphertext. The entity secret should be encrypted by the entity public key. Circle mandates that the entity secret ciphertext is unique for each API request. ")
29
29
  fee_level: Optional[FeeLevel] = Field(None, alias="feeLevel")
30
- gas_limit: Optional[StrictStr] = Field(None, alias="gasLimit", description="The maximum units of gas to use for the transaction. Required if `feeLevel` is not provided. Estimates for this limit can be obtained through the `POST /transactions/transfer/estimateFee` API. GasLimit override (only supported for EOA wallets): Using `gasLimit` together with `feeLevel`, the provided `gasLimit` is required to be greater or equal to `feeLevel` estimation and will override the estimation's gasLimit. ")
31
- gas_price: Optional[StrictStr] = Field(None, alias="gasPrice", description="For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see `gasLimit`). Requires `gasLimit`. Cannot be used with `feeLevel`, `priorityFee`, or `maxFee`. Estimates for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
32
- max_fee: Optional[StrictStr] = Field(None, alias="maxFee", description="For blockchains with EIP-1559 support, the maximum price per unit of gas (see `gasLimit`), in gwei. Requires `priorityFee`, and `gasLimit` to be present. Cannot be used with `feeLevel` or `gasPrice`. Estimates for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
33
- priority_fee: Optional[StrictStr] = Field(None, alias="priorityFee", description="For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators. Please note that the `maxFee` and `gasLimit` parameters are required alongside the `priorityFee`. The `feeLevel` and `gasPrice` parameters cannot be used with the `priorityFee`. Estimations for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
30
+ gas_limit: Optional[StrictStr] = Field(None, alias="gasLimit", description="The maximum units of gas to use for the transaction. Required if `feeLevel` is not provided. Estimates for this limit can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. GasLimit override (only supported for EOA wallets): Using `gasLimit` together with `feeLevel`, the provided `gasLimit` is required to be greater or equal to `feeLevel` estimation and will override the estimation's gasLimit. ")
31
+ gas_price: Optional[StrictStr] = Field(None, alias="gasPrice", description="For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see `gasLimit`). Requires `gasLimit`. Cannot be used with `feeLevel`, `priorityFee`, or `maxFee`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
32
+ max_fee: Optional[StrictStr] = Field(None, alias="maxFee", description="For blockchains with EIP-1559 support, the maximum price per unit of gas (see `gasLimit`), in gwei. Requires `priorityFee`, and `gasLimit` to be present. Cannot be used with `feeLevel` or `gasPrice`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
33
+ priority_fee: Optional[StrictStr] = Field(None, alias="priorityFee", description="For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators. Please note that the `maxFee` and `gasLimit` parameters are required alongside the `priorityFee`. The `feeLevel` and `gasPrice` parameters cannot be used with the `priorityFee`. Estimations for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
34
34
  ref_id: Optional[StrictStr] = Field(None, alias="refId", description="Optional reference or description used to identify the transaction.")
35
35
  wallet_id: StrictStr = Field(..., alias="walletId", description="Unique system generated identifier of the wallet. Required when `sourceAddress` and `blockchain` are not provided. Mutually exclusive with `sourceAddress` and `blockchain`. For contract deploys this wallet ID will be used as the source. ")
36
36
  __properties = ["idempotencyKey", "newScaCore", "entitySecretCiphertext", "feeLevel", "gasLimit", "gasPrice", "maxFee", "priorityFee", "refId", "walletId"]
@@ -15,16 +15,15 @@ import json
15
15
 
16
16
 
17
17
  from typing import Optional
18
- from pydantic import BaseModel, Field, StrictStr
18
+ from pydantic import BaseModel
19
19
  from circle.web3.developer_controlled_wallets.models.wallet_metadata import WalletMetadata
20
20
 
21
- class BackfillWalletRequest(BaseModel):
21
+ class DeriveWalletRequest(BaseModel):
22
22
  """
23
- BackfillWalletRequest
23
+ DeriveWalletRequest
24
24
  """
25
- blockchain: StrictStr = Field(...)
26
25
  metadata: Optional[WalletMetadata] = None
27
- __properties = ["blockchain", "metadata"]
26
+ __properties = ["metadata"]
28
27
 
29
28
  def __init__(self, **kwargs):
30
29
  if "idempotencyKey" in self.__properties and not kwargs.get("idempotency_key"):
@@ -49,8 +48,8 @@ class BackfillWalletRequest(BaseModel):
49
48
  return json.dumps(self.to_dict())
50
49
 
51
50
  @classmethod
52
- def from_json(cls, json_str: str) -> BackfillWalletRequest:
53
- """Create an instance of BackfillWalletRequest from a JSON string"""
51
+ def from_json(cls, json_str: str) -> DeriveWalletRequest:
52
+ """Create an instance of DeriveWalletRequest from a JSON string"""
54
53
  return cls.from_dict(json.loads(json_str))
55
54
 
56
55
  def to_dict(self):
@@ -65,13 +64,13 @@ class BackfillWalletRequest(BaseModel):
65
64
  return _dict
66
65
 
67
66
  @classmethod
68
- def from_dict(cls, obj: dict) -> BackfillWalletRequest:
69
- """Create an instance of BackfillWalletRequest from a dict"""
67
+ def from_dict(cls, obj: dict) -> DeriveWalletRequest:
68
+ """Create an instance of DeriveWalletRequest from a dict"""
70
69
  if obj is None:
71
70
  return None
72
71
 
73
72
  if not isinstance(obj, dict):
74
- return BackfillWalletRequest.parse_obj(obj)
73
+ return DeriveWalletRequest.parse_obj(obj)
75
74
 
76
75
  # fill idempotency_key and ciphertext with placeholder for auto_fill
77
76
  if "idempotencyKey" in cls.__properties and not obj.get("idempotencyKey"):
@@ -80,8 +79,7 @@ class BackfillWalletRequest(BaseModel):
80
79
  if "entitySecretCiphertext" in cls.__properties and not obj.get("entitySecretCiphertext"):
81
80
  obj["entitySecretCiphertext"] = "#REFILL_PLACEHOLDER"
82
81
 
83
- _obj = BackfillWalletRequest.parse_obj({
84
- "blockchain": obj.get("blockchain"),
82
+ _obj = DeriveWalletRequest.parse_obj({
85
83
  "metadata": WalletMetadata.from_dict(obj.get("metadata")) if obj.get("metadata") is not None else None
86
84
  })
87
85
  return _obj
@@ -19,7 +19,7 @@ from aenum import Enum, no_arg
19
19
 
20
20
  class FeeLevel(str, Enum):
21
21
  """
22
- A dynamic blockchain fee level setting (`LOW`, `MEDIUM`, or `HIGH`) that will be used to pay gas for the transaction. Calculated based on network traffic, supply of validators, and demand for transaction verification. Cannot be used with `gasPrice`, `priorityFee`, or `maxFee`. Estimates for each fee level can be obtained through the `POST /transactions/transfer/estimateFee` API.
22
+ A dynamic blockchain fee level setting (`LOW`, `MEDIUM`, or `HIGH`) that will be used to pay gas for the transaction. Calculated based on network traffic, supply of validators, and demand for transaction verification. Cannot be used with `gasPrice`, `priorityFee`, or `maxFee`. Estimates for each fee level can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API.
23
23
  """
24
24
 
25
25
  """
@@ -33,7 +33,7 @@ class Transaction(BaseModel):
33
33
  id: StrictStr = Field(..., description="System-generated unique identifier of the resource.")
34
34
  abi_function_signature: Optional[StrictStr] = Field(None, alias="abiFunctionSignature", description="The contract ABI function signature or `callData` field is required for interacting with the smart contract. The ABI function signature cannot be used simultaneously with `callData`. e.g. burn(uint256)")
35
35
  abi_parameters: Optional[conlist(AbiParametersInner)] = Field(None, alias="abiParameters", description="The contract ABI function signature parameters for executing the contract interaction. Supported parameter types include string, integer, boolean, and array. These parameters should be used exclusively with the abiFunctionSignature and cannot be used with `callData`.")
36
- amounts: Optional[conlist(StrictStr, min_items=1)] = Field(None, description="Transfer amounts in decimal number format, at least one element is required for transfer. For ERC721 token transfer, the amounts field is required to be [\"1\"] (array with \"1\" as the only element).")
36
+ amounts: Optional[conlist(StrictStr)] = Field(None, description="Transfer amounts in decimal number format, at least one element is required for transfer. For ERC721 token transfer, the amounts field is required to be [\"1\"] (array with \"1\" as the only element).")
37
37
  amount_in_usd: Optional[StrictStr] = Field(None, alias="amountInUSD", description="Transaction amount in USD decimal format.")
38
38
  block_hash: Optional[StrictStr] = Field(None, alias="blockHash", description="Identifier for the block that includes the transaction.")
39
39
  block_height: Optional[StrictInt] = Field(None, alias="blockHeight", description="Block height of the transaction, representing the number of blockchain confirmations.")
@@ -21,10 +21,10 @@ class TransactionFee(BaseModel):
21
21
  """
22
22
  TransactionFee
23
23
  """
24
- gas_limit: Optional[StrictStr] = Field(None, alias="gasLimit", description="The maximum units of gas to use for the transaction. Required if `feeLevel` is not provided. Estimates for this limit can be obtained through the `POST /transactions/transfer/estimateFee` API. GasLimit override (only supported for EOA wallets): Using `gasLimit` together with `feeLevel`, the provided `gasLimit` is required to be greater or equal to `feeLevel` estimation and will override the estimation's gasLimit. ")
25
- gas_price: Optional[StrictStr] = Field(None, alias="gasPrice", description="For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see `gasLimit`). Requires `gasLimit`. Cannot be used with `feeLevel`, `priorityFee`, or `maxFee`. Estimates for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
26
- max_fee: Optional[StrictStr] = Field(None, alias="maxFee", description="For blockchains with EIP-1559 support, the maximum price per unit of gas (see `gasLimit`), in gwei. Requires `priorityFee`, and `gasLimit` to be present. Cannot be used with `feeLevel` or `gasPrice`. Estimates for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
27
- priority_fee: Optional[StrictStr] = Field(None, alias="priorityFee", description="For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators. Please note that the `maxFee` and `gasLimit` parameters are required alongside the `priorityFee`. The `feeLevel` and `gasPrice` parameters cannot be used with the `priorityFee`. Estimations for this fee can be obtained through the `POST /transactions/transfer/estimateFee` API. ")
24
+ gas_limit: Optional[StrictStr] = Field(None, alias="gasLimit", description="The maximum units of gas to use for the transaction. Required if `feeLevel` is not provided. Estimates for this limit can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. GasLimit override (only supported for EOA wallets): Using `gasLimit` together with `feeLevel`, the provided `gasLimit` is required to be greater or equal to `feeLevel` estimation and will override the estimation's gasLimit. ")
25
+ gas_price: Optional[StrictStr] = Field(None, alias="gasPrice", description="For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see `gasLimit`). Requires `gasLimit`. Cannot be used with `feeLevel`, `priorityFee`, or `maxFee`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
26
+ max_fee: Optional[StrictStr] = Field(None, alias="maxFee", description="For blockchains with EIP-1559 support, the maximum price per unit of gas (see `gasLimit`), in gwei. Requires `priorityFee`, and `gasLimit` to be present. Cannot be used with `feeLevel` or `gasPrice`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
27
+ priority_fee: Optional[StrictStr] = Field(None, alias="priorityFee", description="For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators. Please note that the `maxFee` and `gasLimit` parameters are required alongside the `priorityFee`. The `feeLevel` and `gasPrice` parameters cannot be used with the `priorityFee`. Estimations for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. ")
28
28
  base_fee: Optional[StrictStr] = Field(None, alias="baseFee", description="For blockchains with EIP-1559 support, the estimated base fee represents the minimum fee required for a transaction to be included in a block on the blockchain. It is measured in gwei and compensates for the computational resources validators consume to process the transaction. The base fee is supplemented by a separate \"tip\" called the priority fee, which acts as an extra incentive for validators to prioritize the transaction. The priority fee is added to the base fee to calculate the final transaction fee. ")
29
29
  network_fee: Optional[StrictStr] = Field(None, alias="networkFee", description="The estimated network fee is the maximum amount of cryptocurrency (such as ETH, ARB, or SOL) that you will pay for your transaction. This fee depends on the parameters you set, including Gas Limit, Priority Fee, and Max Fee. It compensates for the computational resources that validators consume to process the transaction. It is measured in native token such as ETH, SOL. For blockchains with L1 data fees such as OP/BASE, the network fee is a combination of the Execution Gas Fee and the L1 Data Fee. Each blockchain might use different formula for network fee. Refer to each specific blockchain's documentation to understand how `networkFee` is calculated. ")
30
30
  __properties = ["gasLimit", "gasPrice", "maxFee", "priorityFee", "baseFee", "networkFee"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: circle-developer-controlled-wallets
3
- Version: 5.3.0
3
+ Version: 6.1.0
4
4
  Summary: Developer-Controlled Wallets
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -12,8 +12,8 @@ Requires-Dist: python-dateutil
12
12
  Requires-Dist: pydantic<2,>=1.10.5
13
13
  Requires-Dist: aenum
14
14
  Requires-Dist: pycryptodome>=3.20.0
15
- Requires-Dist: circle-configurations==5.3.0
16
- Requires-Dist: circle-web3-sdk-util==5.3.0
15
+ Requires-Dist: circle-configurations==6.1.0
16
+ Requires-Dist: circle-web3-sdk-util==6.1.0
17
17
  Dynamic: author
18
18
  Dynamic: author-email
19
19
  Dynamic: description
@@ -25,7 +25,7 @@ Dynamic: summary
25
25
  # circle-developer-controlled-wallets
26
26
  This SDK provides convenient access to Circle's Developer Controlled Wallets APIs for applications written in Python. For the API reference, see the [Circle Web3 API docs](https://developers.circle.com/api-reference/w3s/common/ping).
27
27
 
28
- - Package version: 5.3.0
28
+ - Package version: 6.1.0
29
29
 
30
30
  ## Requirements.
31
31
 
@@ -1,9 +1,9 @@
1
1
  circle/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  circle/web3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- circle/web3/developer_controlled_wallets/__init__.py,sha256=I4uiVbUbatLZlkJ-lbsqb0AIFZR0_a2KAvLXTpKifwU,11477
4
- circle/web3/developer_controlled_wallets/api_client.py,sha256=SNSuE435pHaTnukIh9lnJybd7_yM9Z3rKIwbLdX3xWs,31612
3
+ circle/web3/developer_controlled_wallets/__init__.py,sha256=0-AaA46FZOQp5yAZN8RX4Mk1Xhp4AYSZungDTI6zgvk,11473
4
+ circle/web3/developer_controlled_wallets/api_client.py,sha256=RzPF15WoX5ogGmvE5fop3PwsEh8SJ3L4Ej6zCCh4ggc,31612
5
5
  circle/web3/developer_controlled_wallets/api_response.py,sha256=PVUEilYSo_CCiR5NaxyzzyJAlKL1xkNoWvtkfk7r528,844
6
- circle/web3/developer_controlled_wallets/configuration.py,sha256=guMwWL_tRwo7fD8OjtLqD3Yp-vfsXNF87Ot_di1N8Xo,15101
6
+ circle/web3/developer_controlled_wallets/configuration.py,sha256=SZKnP4pujNvgmNS_sQXaO9Q-TwAhTDmJhuCIx972gYM,15101
7
7
  circle/web3/developer_controlled_wallets/exceptions.py,sha256=_2uyalsxooiwXa05bg46v7jt1aSrhzOD9etoqSyZEac,5218
8
8
  circle/web3/developer_controlled_wallets/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  circle/web3/developer_controlled_wallets/rest.py,sha256=L2w4OU_OfcJNZ3nwckgwq21B3gIOXkpFjsOP4QliIeY,12814
@@ -11,15 +11,14 @@ circle/web3/developer_controlled_wallets/api/__init__.py,sha256=OdeJef0RSUikrtSO
11
11
  circle/web3/developer_controlled_wallets/api/signing_api.py,sha256=sVXNn0XbpTr4FV6Zxiptc9Kt05gEzMRkjsvetF3yRNo,32368
12
12
  circle/web3/developer_controlled_wallets/api/token_lookup_api.py,sha256=IdCqsWeHOsj9YEiY_ImxULGV_9ifzlvEn5b5XNO3S-k,8089
13
13
  circle/web3/developer_controlled_wallets/api/transactions_api.py,sha256=e5G2jyJ8bG0GG4iSaUsPdXu7Z_9uPPyrYoaLXHllAOM,91894
14
- circle/web3/developer_controlled_wallets/api/wallet_sets_api.py,sha256=0VHhXuMAYlfOjZN3K2UNCfGc7f-eN1WaT7N0sTlAZvI,39351
15
- circle/web3/developer_controlled_wallets/api/wallets_api.py,sha256=EpVdQvuEKWWvOB9jJmz3amRc-zkQAVkiiUM1p2-cYfg,100560
16
- circle/web3/developer_controlled_wallets/models/__init__.py,sha256=Pe8zbUKwb6I-8rYPa6pjeJ9KYOKFO0o3uVUyDj0dwy0,10273
14
+ circle/web3/developer_controlled_wallets/api/wallet_sets_api.py,sha256=RnUOyZdCmqYBC88vh_Mh-JlUf6KqnT5dmqgT0AT4K1o,39907
15
+ circle/web3/developer_controlled_wallets/api/wallets_api.py,sha256=knUH2PLyJj4sMOVppwAkgiM_YLie0616KNYOSK76egs,101637
16
+ circle/web3/developer_controlled_wallets/models/__init__.py,sha256=3J4-ba6FSEoJVrwTh5o-o1RkjKgOq6UE5tjvmF1YjZw,10269
17
17
  circle/web3/developer_controlled_wallets/models/abi_parameters_inner.py,sha256=YX5BNB39myCXozO8yBzN-PnPC_81HovQEL8_i_irhpU,6093
18
18
  circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer.py,sha256=p_gW451uzynxR2KX_-s7dfby13hpkk5tdOD0i7BO7tI,3108
19
19
  circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer_data.py,sha256=45oeo8Y5X00kEl7cwUB0y0ccTezJpGsTWhs5LtEUDvg,2813
20
20
  circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer_request.py,sha256=KN0KmXqM6BaiIfX5XDtfk_mIwkBqD7UykN2l2rnKLq4,3606
21
21
  circle/web3/developer_controlled_wallets/models/account_type.py,sha256=u4F1PwPi6kNoXOcYtDHSXeNyoEDaCEm-glihpTwuhWE,981
22
- circle/web3/developer_controlled_wallets/models/backfill_wallet_request.py,sha256=ZgpYvUjNjSQabvTVlYy-UcPSHF8oVvW-akW6-iIfxd4,3073
23
22
  circle/web3/developer_controlled_wallets/models/bad_request_response.py,sha256=ZaL7FhSV-tA8AFmXPXfcMblCzl8HT8LK5vzPhhM4KIs,2765
24
23
  circle/web3/developer_controlled_wallets/models/balance.py,sha256=1gnyDnXkYkQBlhkXIhSiWz_bFQOAqp7FxCOh2nW-uoc,3145
25
24
  circle/web3/developer_controlled_wallets/models/balances.py,sha256=9mBDyfJXXSq5Bx94dhGDO4_47k7RT-gL5AW0Vp_AK8Y,2781
@@ -30,15 +29,16 @@ circle/web3/developer_controlled_wallets/models/cancel_transaction_for_developer
30
29
  circle/web3/developer_controlled_wallets/models/cancel_transaction_for_developer_request.py,sha256=PQaehF6SPZguQZcTJPwA8Z5xaGEe_JLekM_EkvEc6Ns,3574
31
30
  circle/web3/developer_controlled_wallets/models/contract_execution_blockchain.py,sha256=BkuaS2zPNSGpCo0lU5Jaq8jK1s7RxwJzB-qiaFQM49U,1178
32
31
  circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer.py,sha256=IddNCdmw9EFf5pl4tF8WeBxvNxnKUKVj9jZCazMcAbg,3238
33
- circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer_request.py,sha256=tev0QLk6-0ZnhvTBv6siRlrjf-R4M90KJpXzerwOxPg,8863
34
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request.py,sha256=0vTZyXNgne4k6n_if2NB3tlxXvTlA8WBKPkZKrgTEhk,8084
32
+ circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer_request.py,sha256=YjTheSO6uwUiTLCTZ-5pNtqgQukEEKQIUvdG8Zj3Sdc,9183
33
+ circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request.py,sha256=nCiYPISuIJ99nE5QWquR79RANQ7HcCX6WJN665kIisM,8404
35
34
  circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_response.py,sha256=YRMpIZhy8ZiBwuQls9Sfqg8CIOWlz8KNF1DAG1PeLdE,3254
36
35
  circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_response_data.py,sha256=dLj_Y4YMpmf1hTSsYSECBjd5mNWXVCsq492mPLH5CvE,3055
37
36
  circle/web3/developer_controlled_wallets/models/create_wallet_request.py,sha256=nEGgLhxmeygJDlXDgRoj4RySzzkt8uMA93iqCQFkHOA,5142
38
37
  circle/web3/developer_controlled_wallets/models/create_wallet_set_request.py,sha256=ZkkkKopXBtf8WCpUMtVu27GOqUN0yy1Du5d7jWWL2uA,3637
39
38
  circle/web3/developer_controlled_wallets/models/create_wallet_upgrade_transaction_for_developer.py,sha256=NJAZv5-awBVwyarE_DPvS70fULbVkZmPia3aOQmiYYk,3206
40
- circle/web3/developer_controlled_wallets/models/create_wallet_upgrade_transaction_for_developer_request.py,sha256=DNndRMDcDjpluXcOhPi1j6GIvuwMbk5UpsOWuDFeiAw,6647
39
+ circle/web3/developer_controlled_wallets/models/create_wallet_upgrade_transaction_for_developer_request.py,sha256=3Uq52F8tVDceEDcibfCRgecSDWoy2fxcssEGIV8gKqY,6967
41
40
  circle/web3/developer_controlled_wallets/models/custody_type.py,sha256=-jwmNI1fRdu99uU6d8ewv6zXp7Of769WhIL0Qy1i_KI,704
41
+ circle/web3/developer_controlled_wallets/models/derive_wallet_request.py,sha256=ZwUSLI-78MKUnHIEzc9_W4DgGnEyO8jIrN0fvYaVfyw,2937
42
42
  circle/web3/developer_controlled_wallets/models/developer_wallet_set.py,sha256=P1ON_uNz_fTfSNtEZ9hxKu6J7uTFINoyTmrASDDjMe0,3447
43
43
  circle/web3/developer_controlled_wallets/models/end_user_wallet_set.py,sha256=_-vg7A8IQUWm0OeAASrpwXaeN6F6FaqcgNC7kq_GJK4,3642
44
44
  circle/web3/developer_controlled_wallets/models/eoa_wallet.py,sha256=nRwrBMt98gU6Pcow_udEWx6Z4ds-OkcYF89cqJuOGxs,5643
@@ -49,7 +49,7 @@ circle/web3/developer_controlled_wallets/models/estimate_transaction_fee.py,sha2
49
49
  circle/web3/developer_controlled_wallets/models/estimate_transaction_fee_data.py,sha256=orTybZ1SmCiivc4LNnu3EdzVOSdNUyxv7TFLsGTSyq4,4607
50
50
  circle/web3/developer_controlled_wallets/models/estimate_transfer_transaction_fee_request.py,sha256=ARQ9xUsJjFE1MhLbBSDVb2hFslqUOP8bLpPtYmEnkTQ,5054
51
51
  circle/web3/developer_controlled_wallets/models/evm_blockchain.py,sha256=qPR2RIkY5yzs_VpBrtuW1LoYTbzngVYimPTkPc6xoDM,1025
52
- circle/web3/developer_controlled_wallets/models/fee_level.py,sha256=udtM-56G8JXf7r680EmD404rH6J4IffcfhYIo2pYORE,985
52
+ circle/web3/developer_controlled_wallets/models/fee_level.py,sha256=joeSUsnzvbDCW6DxOv3O9Fuj4YIO6VGCFTlAd6kp-BE,1065
53
53
  circle/web3/developer_controlled_wallets/models/new_sca_core.py,sha256=DElcdgBxIB7oaT-uV0YJ6t4CrCyKTbtT_3MkzTE4PLs,756
54
54
  circle/web3/developer_controlled_wallets/models/nft.py,sha256=HRrXxplK1UeCOQf27JoOxvM5HqEmuMPPNqD8Pd5xnDY,3756
55
55
  circle/web3/developer_controlled_wallets/models/nfts.py,sha256=9CxeG7e5cO0X9rTMFnJslQYKysdEkRupvqsTsfdqNqc,2733
@@ -80,8 +80,8 @@ circle/web3/developer_controlled_wallets/models/token_blockchain.py,sha256=aS6S5
80
80
  circle/web3/developer_controlled_wallets/models/token_response.py,sha256=QVsuDj3KSBIOIQo4bQmE14O5LHo38aNxDO4moaOSlxk,2866
81
81
  circle/web3/developer_controlled_wallets/models/token_response_data.py,sha256=dJjNCPbQJJjHY55pWkGHdx9jTRVaGFYO3Whx8EuiJzQ,2857
82
82
  circle/web3/developer_controlled_wallets/models/token_standard.py,sha256=CtoV9hUiEiIMnKdXh0d_KZyyvgFtGLO0tkByEIaBjnY,912
83
- circle/web3/developer_controlled_wallets/models/transaction.py,sha256=isYKO9kCxUfcSTFwWj-kuBpXuKZBev0hSAzGa7MIYBY,11076
84
- circle/web3/developer_controlled_wallets/models/transaction_fee.py,sha256=iIDruiaivvbvkvJo5ReY2lWaEcDGPdcz2UyYo2G6n2A,5930
83
+ circle/web3/developer_controlled_wallets/models/transaction.py,sha256=gHtS2ehs3-K8Idd5ItE9KECU75_v5M-xgDBBicHUsiI,11063
84
+ circle/web3/developer_controlled_wallets/models/transaction_fee.py,sha256=BqW9XfcYbXDTqwSn8tfV7_cYssNJskx-V-Eh0bbajLU,6250
85
85
  circle/web3/developer_controlled_wallets/models/transaction_response.py,sha256=UIJf3QEx6Pjiw5NvoRIKs31KuHpqEkYxtDfBbMm4cfg,2914
86
86
  circle/web3/developer_controlled_wallets/models/transaction_response_data.py,sha256=PRJIr8-WlSojEHz7Tu9O8B5frWDw1z00ueYKasrb-Eg,2983
87
87
  circle/web3/developer_controlled_wallets/models/transaction_screening_decision.py,sha256=_ExFIvRsdvQFPePIJct4XyBdsWCKSe91fh8WWgNL_kw,4062
@@ -111,7 +111,7 @@ circle/web3/developer_controlled_wallets/models/wallets_data_wallets_inner.py,sh
111
111
  circle/web3/developer_controlled_wallets/models/wallets_with_balances.py,sha256=FsVV9EFdzXYoYrLN0iEjWQSi5MrfCS-2OjdVPGDtHlY,2915
112
112
  circle/web3/developer_controlled_wallets/models/wallets_with_balances_data.py,sha256=refo6iYAoQOKU3X3t9mQ5Yf-vWV-6UzkuaexgNwhSjE,3226
113
113
  circle/web3/developer_controlled_wallets/models/wallets_with_balances_data_wallets_inner.py,sha256=Bss1dqGl6TLi17jLgQtdb8l5MKbOBUPruyY982SCU5U,5671
114
- circle_developer_controlled_wallets-5.3.0.dist-info/METADATA,sha256=HRj1pIbrX0xMvreP_rabGbzyRGcMHXx4gdFNsivPh1Q,5992
115
- circle_developer_controlled_wallets-5.3.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
116
- circle_developer_controlled_wallets-5.3.0.dist-info/top_level.txt,sha256=yrA-kPXovTlZknK2uc3iesulUvyL15VSSoCtXIEdqm4,7
117
- circle_developer_controlled_wallets-5.3.0.dist-info/RECORD,,
114
+ circle_developer_controlled_wallets-6.1.0.dist-info/METADATA,sha256=uunEMmWkog1Go0Q391opU7NE3ef6hpYqgvdqjcP1pag,5992
115
+ circle_developer_controlled_wallets-6.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
116
+ circle_developer_controlled_wallets-6.1.0.dist-info/top_level.txt,sha256=yrA-kPXovTlZknK2uc3iesulUvyL15VSSoCtXIEdqm4,7
117
+ circle_developer_controlled_wallets-6.1.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5