circle-developer-controlled-wallets 6.1.0__py3-none-any.whl → 6.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 +1 -1
- circle/web3/developer_controlled_wallets/api/signing_api.py +61 -27
- circle/web3/developer_controlled_wallets/api/transactions_api.py +134 -54
- circle/web3/developer_controlled_wallets/api/wallet_sets_api.py +14 -6
- circle/web3/developer_controlled_wallets/api/wallets_api.py +54 -22
- circle/web3/developer_controlled_wallets/api_client.py +1 -1
- circle/web3/developer_controlled_wallets/configuration.py +1 -1
- circle/web3/developer_controlled_wallets/models/account_type.py +1 -1
- circle/web3/developer_controlled_wallets/models/blockchain.py +2 -0
- circle/web3/developer_controlled_wallets/models/eoa_wallet.py +1 -1
- circle/web3/developer_controlled_wallets/models/eoa_wallet_with_balances.py +1 -1
- circle/web3/developer_controlled_wallets/models/sca_wallet.py +1 -1
- circle/web3/developer_controlled_wallets/models/sca_wallet_with_balances.py +1 -1
- circle/web3/developer_controlled_wallets/models/token_blockchain.py +2 -0
- {circle_developer_controlled_wallets-6.1.0.dist-info → circle_developer_controlled_wallets-6.3.0.dist-info}/METADATA +4 -4
- {circle_developer_controlled_wallets-6.1.0.dist-info → circle_developer_controlled_wallets-6.3.0.dist-info}/RECORD +18 -18
- {circle_developer_controlled_wallets-6.1.0.dist-info → circle_developer_controlled_wallets-6.3.0.dist-info}/WHEEL +0 -0
- {circle_developer_controlled_wallets-6.1.0.dist-info → circle_developer_controlled_wallets-6.3.0.dist-info}/top_level.txt +0 -0
|
@@ -375,14 +375,14 @@ class WalletSetsApi(object):
|
|
|
375
375
|
|
|
376
376
|
@auto_fill
|
|
377
377
|
@validate_arguments
|
|
378
|
-
def get_wallet_sets(self, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = 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) -> WalletSets: # noqa: E501
|
|
378
|
+
def get_wallet_sets(self, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = 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, order : Annotated[Optional[StrictStr], Field(description="Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default). ")] = None, **kwargs) -> WalletSets: # noqa: E501
|
|
379
379
|
"""Get all wallet sets # noqa: E501
|
|
380
380
|
|
|
381
381
|
Retrieve an array of existing wallet sets. # noqa: E501
|
|
382
382
|
This method makes a synchronous HTTP request by default. To make an
|
|
383
383
|
asynchronous HTTP request, please pass async_req=True
|
|
384
384
|
|
|
385
|
-
>>> thread = api.get_wallet_sets(x_request_id, var_from, to, page_before, page_after, page_size, async_req=True)
|
|
385
|
+
>>> thread = api.get_wallet_sets(x_request_id, var_from, to, page_before, page_after, page_size, order, async_req=True)
|
|
386
386
|
>>> result = thread.get()
|
|
387
387
|
|
|
388
388
|
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
@@ -397,6 +397,8 @@ class WalletSetsApi(object):
|
|
|
397
397
|
:type page_after: str
|
|
398
398
|
: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.
|
|
399
399
|
:type page_size: int
|
|
400
|
+
:param order: Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default).
|
|
401
|
+
:type order: str
|
|
400
402
|
:param async_req: Whether to execute the request asynchronously.
|
|
401
403
|
:type async_req: bool, optional
|
|
402
404
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -411,18 +413,18 @@ class WalletSetsApi(object):
|
|
|
411
413
|
kwargs['_return_http_data_only'] = True
|
|
412
414
|
if '_preload_content' in kwargs:
|
|
413
415
|
raise ValueError("Error! Please call the get_wallet_sets_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
414
|
-
return self.get_wallet_sets_with_http_info(x_request_id, var_from, to, page_before, page_after, page_size, **kwargs) # noqa: E501
|
|
416
|
+
return self.get_wallet_sets_with_http_info(x_request_id, var_from, to, page_before, page_after, page_size, order, **kwargs) # noqa: E501
|
|
415
417
|
|
|
416
418
|
@auto_fill
|
|
417
419
|
@validate_arguments
|
|
418
|
-
def get_wallet_sets_with_http_info(self, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = 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
|
|
420
|
+
def get_wallet_sets_with_http_info(self, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = 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, order : Annotated[Optional[StrictStr], Field(description="Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default). ")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
419
421
|
"""Get all wallet sets # noqa: E501
|
|
420
422
|
|
|
421
423
|
Retrieve an array of existing wallet sets. # noqa: E501
|
|
422
424
|
This method makes a synchronous HTTP request by default. To make an
|
|
423
425
|
asynchronous HTTP request, please pass async_req=True
|
|
424
426
|
|
|
425
|
-
>>> thread = api.get_wallet_sets_with_http_info(x_request_id, var_from, to, page_before, page_after, page_size, async_req=True)
|
|
427
|
+
>>> thread = api.get_wallet_sets_with_http_info(x_request_id, var_from, to, page_before, page_after, page_size, order, async_req=True)
|
|
426
428
|
>>> result = thread.get()
|
|
427
429
|
|
|
428
430
|
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
@@ -437,6 +439,8 @@ class WalletSetsApi(object):
|
|
|
437
439
|
:type page_after: str
|
|
438
440
|
: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.
|
|
439
441
|
:type page_size: int
|
|
442
|
+
:param order: Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default).
|
|
443
|
+
:type order: str
|
|
440
444
|
:param async_req: Whether to execute the request asynchronously.
|
|
441
445
|
:type async_req: bool, optional
|
|
442
446
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -470,7 +474,8 @@ class WalletSetsApi(object):
|
|
|
470
474
|
'to',
|
|
471
475
|
'page_before',
|
|
472
476
|
'page_after',
|
|
473
|
-
'page_size'
|
|
477
|
+
'page_size',
|
|
478
|
+
'order'
|
|
474
479
|
]
|
|
475
480
|
_all_params.extend(
|
|
476
481
|
[
|
|
@@ -522,6 +527,9 @@ class WalletSetsApi(object):
|
|
|
522
527
|
if _params.get('page_size') is not None: # noqa: E501
|
|
523
528
|
_query_params.append(('pageSize', _params['page_size']))
|
|
524
529
|
|
|
530
|
+
if _params.get('order') is not None: # noqa: E501
|
|
531
|
+
_query_params.append(('order', _params['order']))
|
|
532
|
+
|
|
525
533
|
# process the header parameters
|
|
526
534
|
_header_params = dict(_params.get('_headers', {}))
|
|
527
535
|
if _params['x_request_id']:
|
|
@@ -560,14 +560,14 @@ class WalletsApi(object):
|
|
|
560
560
|
|
|
561
561
|
@auto_fill
|
|
562
562
|
@validate_arguments
|
|
563
|
-
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
|
|
563
|
+
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, order : Annotated[Optional[StrictStr], Field(description="Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default). ")] = None, 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
|
|
564
564
|
"""List wallets # noqa: E501
|
|
565
565
|
|
|
566
566
|
Retrieves a list of all wallets that fit the specified parameters. # noqa: E501
|
|
567
567
|
This method makes a synchronous HTTP request by default. To make an
|
|
568
568
|
asynchronous HTTP request, please pass async_req=True
|
|
569
569
|
|
|
570
|
-
>>> 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)
|
|
570
|
+
>>> thread = api.get_wallets(address, blockchain, sca_core, wallet_set_id, ref_id, var_from, to, page_before, page_after, page_size, order, x_request_id, async_req=True)
|
|
571
571
|
>>> result = thread.get()
|
|
572
572
|
|
|
573
573
|
:param address: Filter by the blockchain address of the wallet.
|
|
@@ -590,6 +590,10 @@ class WalletsApi(object):
|
|
|
590
590
|
:type page_after: str
|
|
591
591
|
: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.
|
|
592
592
|
:type page_size: int
|
|
593
|
+
:param order: Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default).
|
|
594
|
+
:type order: str
|
|
595
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
596
|
+
:type x_request_id: str
|
|
593
597
|
:param async_req: Whether to execute the request asynchronously.
|
|
594
598
|
:type async_req: bool, optional
|
|
595
599
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -604,18 +608,18 @@ class WalletsApi(object):
|
|
|
604
608
|
kwargs['_return_http_data_only'] = True
|
|
605
609
|
if '_preload_content' in kwargs:
|
|
606
610
|
raise ValueError("Error! Please call the get_wallets_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
607
|
-
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
|
|
611
|
+
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, order, x_request_id, **kwargs) # noqa: E501
|
|
608
612
|
|
|
609
613
|
@auto_fill
|
|
610
614
|
@validate_arguments
|
|
611
|
-
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
|
|
615
|
+
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, order : Annotated[Optional[StrictStr], Field(description="Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default). ")] = None, 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
|
|
612
616
|
"""List wallets # noqa: E501
|
|
613
617
|
|
|
614
618
|
Retrieves a list of all wallets that fit the specified parameters. # noqa: E501
|
|
615
619
|
This method makes a synchronous HTTP request by default. To make an
|
|
616
620
|
asynchronous HTTP request, please pass async_req=True
|
|
617
621
|
|
|
618
|
-
>>> 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)
|
|
622
|
+
>>> 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, order, x_request_id, async_req=True)
|
|
619
623
|
>>> result = thread.get()
|
|
620
624
|
|
|
621
625
|
:param address: Filter by the blockchain address of the wallet.
|
|
@@ -638,6 +642,10 @@ class WalletsApi(object):
|
|
|
638
642
|
:type page_after: str
|
|
639
643
|
: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.
|
|
640
644
|
:type page_size: int
|
|
645
|
+
:param order: Specifies the sort order of the collection by `CreateDate`. Valid values: - `ASC` – Sort results in ascending order. - `DESC` – Sort results in descending order (default).
|
|
646
|
+
:type order: str
|
|
647
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
648
|
+
:type x_request_id: str
|
|
641
649
|
:param async_req: Whether to execute the request asynchronously.
|
|
642
650
|
:type async_req: bool, optional
|
|
643
651
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -675,7 +683,9 @@ class WalletsApi(object):
|
|
|
675
683
|
'to',
|
|
676
684
|
'page_before',
|
|
677
685
|
'page_after',
|
|
678
|
-
'page_size'
|
|
686
|
+
'page_size',
|
|
687
|
+
'order',
|
|
688
|
+
'x_request_id'
|
|
679
689
|
]
|
|
680
690
|
_all_params.extend(
|
|
681
691
|
[
|
|
@@ -742,8 +752,14 @@ class WalletsApi(object):
|
|
|
742
752
|
if _params.get('page_size') is not None: # noqa: E501
|
|
743
753
|
_query_params.append(('pageSize', _params['page_size']))
|
|
744
754
|
|
|
755
|
+
if _params.get('order') is not None: # noqa: E501
|
|
756
|
+
_query_params.append(('order', _params['order']))
|
|
757
|
+
|
|
745
758
|
# process the header parameters
|
|
746
759
|
_header_params = dict(_params.get('_headers', {}))
|
|
760
|
+
if _params['x_request_id']:
|
|
761
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
762
|
+
|
|
747
763
|
# process the form parameters
|
|
748
764
|
_form_params = []
|
|
749
765
|
_files = {}
|
|
@@ -1024,14 +1040,14 @@ class WalletsApi(object):
|
|
|
1024
1040
|
|
|
1025
1041
|
@auto_fill
|
|
1026
1042
|
@validate_arguments
|
|
1027
|
-
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
|
|
1043
|
+
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, FungibleAsset is the standard for the Aptos 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, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> Balances: # noqa: E501
|
|
1028
1044
|
"""Get token balance for a wallet # noqa: E501
|
|
1029
1045
|
|
|
1030
1046
|
Fetches the digital asset balance for a single developer-controlled wallet using its unique identifier. # noqa: E501
|
|
1031
1047
|
This method makes a synchronous HTTP request by default. To make an
|
|
1032
1048
|
asynchronous HTTP request, please pass async_req=True
|
|
1033
1049
|
|
|
1034
|
-
>>> thread = api.list_wallet_balance(id, include_all, name, token_address, standard, page_before, page_after, page_size, async_req=True)
|
|
1050
|
+
>>> thread = api.list_wallet_balance(id, include_all, name, token_address, standard, page_before, page_after, page_size, x_request_id, async_req=True)
|
|
1035
1051
|
>>> result = thread.get()
|
|
1036
1052
|
|
|
1037
1053
|
:param id: Wallet ID (required)
|
|
@@ -1042,7 +1058,7 @@ class WalletsApi(object):
|
|
|
1042
1058
|
:type name: str
|
|
1043
1059
|
:param token_address: Filter by token address.
|
|
1044
1060
|
:type token_address: str
|
|
1045
|
-
:param standard: 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.
|
|
1061
|
+
:param standard: 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, FungibleAsset is the standard for the Aptos chain.
|
|
1046
1062
|
:type standard: TokenStandard
|
|
1047
1063
|
: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.
|
|
1048
1064
|
:type page_before: str
|
|
@@ -1050,6 +1066,8 @@ class WalletsApi(object):
|
|
|
1050
1066
|
:type page_after: str
|
|
1051
1067
|
: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.
|
|
1052
1068
|
:type page_size: int
|
|
1069
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1070
|
+
:type x_request_id: str
|
|
1053
1071
|
:param async_req: Whether to execute the request asynchronously.
|
|
1054
1072
|
:type async_req: bool, optional
|
|
1055
1073
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -1064,18 +1082,18 @@ class WalletsApi(object):
|
|
|
1064
1082
|
kwargs['_return_http_data_only'] = True
|
|
1065
1083
|
if '_preload_content' in kwargs:
|
|
1066
1084
|
raise ValueError("Error! Please call the list_wallet_balance_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
1067
|
-
return self.list_wallet_balance_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, **kwargs) # noqa: E501
|
|
1085
|
+
return self.list_wallet_balance_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, x_request_id, **kwargs) # noqa: E501
|
|
1068
1086
|
|
|
1069
1087
|
@auto_fill
|
|
1070
1088
|
@validate_arguments
|
|
1071
|
-
def list_wallet_balance_with_http_info(self, id : Annotated[StrictStr, Field(..., description="Wallet ID")], include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, name : Annotated[Optional[StrictStr], Field(description="Filter by token name.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token 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) -> ApiResponse: # noqa: E501
|
|
1089
|
+
def list_wallet_balance_with_http_info(self, id : Annotated[StrictStr, Field(..., description="Wallet ID")], include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, name : Annotated[Optional[StrictStr], Field(description="Filter by token name.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token 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, FungibleAsset is the standard for the Aptos 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, 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
|
|
1072
1090
|
"""Get token balance for a wallet # noqa: E501
|
|
1073
1091
|
|
|
1074
1092
|
Fetches the digital asset balance for a single developer-controlled wallet using its unique identifier. # noqa: E501
|
|
1075
1093
|
This method makes a synchronous HTTP request by default. To make an
|
|
1076
1094
|
asynchronous HTTP request, please pass async_req=True
|
|
1077
1095
|
|
|
1078
|
-
>>> thread = api.list_wallet_balance_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, async_req=True)
|
|
1096
|
+
>>> thread = api.list_wallet_balance_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, x_request_id, async_req=True)
|
|
1079
1097
|
>>> result = thread.get()
|
|
1080
1098
|
|
|
1081
1099
|
:param id: Wallet ID (required)
|
|
@@ -1086,7 +1104,7 @@ class WalletsApi(object):
|
|
|
1086
1104
|
:type name: str
|
|
1087
1105
|
:param token_address: Filter by token address.
|
|
1088
1106
|
:type token_address: str
|
|
1089
|
-
:param standard: 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.
|
|
1107
|
+
:param standard: 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, FungibleAsset is the standard for the Aptos chain.
|
|
1090
1108
|
:type standard: TokenStandard
|
|
1091
1109
|
: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.
|
|
1092
1110
|
:type page_before: str
|
|
@@ -1094,6 +1112,8 @@ class WalletsApi(object):
|
|
|
1094
1112
|
:type page_after: str
|
|
1095
1113
|
: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.
|
|
1096
1114
|
:type page_size: int
|
|
1115
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1116
|
+
:type x_request_id: str
|
|
1097
1117
|
:param async_req: Whether to execute the request asynchronously.
|
|
1098
1118
|
:type async_req: bool, optional
|
|
1099
1119
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -1129,7 +1149,8 @@ class WalletsApi(object):
|
|
|
1129
1149
|
'standard',
|
|
1130
1150
|
'page_before',
|
|
1131
1151
|
'page_after',
|
|
1132
|
-
'page_size'
|
|
1152
|
+
'page_size',
|
|
1153
|
+
'x_request_id'
|
|
1133
1154
|
]
|
|
1134
1155
|
_all_params.extend(
|
|
1135
1156
|
[
|
|
@@ -1186,6 +1207,9 @@ class WalletsApi(object):
|
|
|
1186
1207
|
|
|
1187
1208
|
# process the header parameters
|
|
1188
1209
|
_header_params = dict(_params.get('_headers', {}))
|
|
1210
|
+
if _params['x_request_id']:
|
|
1211
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
1212
|
+
|
|
1189
1213
|
# process the form parameters
|
|
1190
1214
|
_form_params = []
|
|
1191
1215
|
_files = {}
|
|
@@ -1223,14 +1247,14 @@ class WalletsApi(object):
|
|
|
1223
1247
|
|
|
1224
1248
|
@auto_fill
|
|
1225
1249
|
@validate_arguments
|
|
1226
|
-
def list_wallet_nfts(self, id : Annotated[StrictStr, Field(..., description="Wallet ID")], include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, name : Annotated[Optional[StrictStr], Field(description="Filter by token name.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token 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) -> Nfts: # noqa: E501
|
|
1250
|
+
def list_wallet_nfts(self, id : Annotated[StrictStr, Field(..., description="Wallet ID")], include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, name : Annotated[Optional[StrictStr], Field(description="Filter by token name.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token 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, FungibleAsset is the standard for the Aptos 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, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> Nfts: # noqa: E501
|
|
1227
1251
|
"""Get NFTs for a wallet # noqa: E501
|
|
1228
1252
|
|
|
1229
1253
|
Fetches the info for all NFTs stored in a single developer-controlled wallet, using the wallets unique identifier. # noqa: E501
|
|
1230
1254
|
This method makes a synchronous HTTP request by default. To make an
|
|
1231
1255
|
asynchronous HTTP request, please pass async_req=True
|
|
1232
1256
|
|
|
1233
|
-
>>> thread = api.list_wallet_nfts(id, include_all, name, token_address, standard, page_before, page_after, page_size, async_req=True)
|
|
1257
|
+
>>> thread = api.list_wallet_nfts(id, include_all, name, token_address, standard, page_before, page_after, page_size, x_request_id, async_req=True)
|
|
1234
1258
|
>>> result = thread.get()
|
|
1235
1259
|
|
|
1236
1260
|
:param id: Wallet ID (required)
|
|
@@ -1241,7 +1265,7 @@ class WalletsApi(object):
|
|
|
1241
1265
|
:type name: str
|
|
1242
1266
|
:param token_address: Filter by token address.
|
|
1243
1267
|
:type token_address: str
|
|
1244
|
-
:param standard: 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.
|
|
1268
|
+
:param standard: 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, FungibleAsset is the standard for the Aptos chain.
|
|
1245
1269
|
:type standard: TokenStandard
|
|
1246
1270
|
: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.
|
|
1247
1271
|
:type page_before: str
|
|
@@ -1249,6 +1273,8 @@ class WalletsApi(object):
|
|
|
1249
1273
|
:type page_after: str
|
|
1250
1274
|
: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.
|
|
1251
1275
|
:type page_size: int
|
|
1276
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1277
|
+
:type x_request_id: str
|
|
1252
1278
|
:param async_req: Whether to execute the request asynchronously.
|
|
1253
1279
|
:type async_req: bool, optional
|
|
1254
1280
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -1263,18 +1289,18 @@ class WalletsApi(object):
|
|
|
1263
1289
|
kwargs['_return_http_data_only'] = True
|
|
1264
1290
|
if '_preload_content' in kwargs:
|
|
1265
1291
|
raise ValueError("Error! Please call the list_wallet_nfts_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
|
|
1266
|
-
return self.list_wallet_nfts_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, **kwargs) # noqa: E501
|
|
1292
|
+
return self.list_wallet_nfts_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, x_request_id, **kwargs) # noqa: E501
|
|
1267
1293
|
|
|
1268
1294
|
@auto_fill
|
|
1269
1295
|
@validate_arguments
|
|
1270
|
-
def list_wallet_nfts_with_http_info(self, id : Annotated[StrictStr, Field(..., description="Wallet ID")], include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, name : Annotated[Optional[StrictStr], Field(description="Filter by token name.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token 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) -> ApiResponse: # noqa: E501
|
|
1296
|
+
def list_wallet_nfts_with_http_info(self, id : Annotated[StrictStr, Field(..., description="Wallet ID")], include_all : Annotated[Optional[StrictBool], Field(description="Return all recourses with monitored and non-monitored tokens.")] = None, name : Annotated[Optional[StrictStr], Field(description="Filter by token name.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token 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, FungibleAsset is the standard for the Aptos 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, 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
|
|
1271
1297
|
"""Get NFTs for a wallet # noqa: E501
|
|
1272
1298
|
|
|
1273
1299
|
Fetches the info for all NFTs stored in a single developer-controlled wallet, using the wallets unique identifier. # noqa: E501
|
|
1274
1300
|
This method makes a synchronous HTTP request by default. To make an
|
|
1275
1301
|
asynchronous HTTP request, please pass async_req=True
|
|
1276
1302
|
|
|
1277
|
-
>>> thread = api.list_wallet_nfts_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, async_req=True)
|
|
1303
|
+
>>> thread = api.list_wallet_nfts_with_http_info(id, include_all, name, token_address, standard, page_before, page_after, page_size, x_request_id, async_req=True)
|
|
1278
1304
|
>>> result = thread.get()
|
|
1279
1305
|
|
|
1280
1306
|
:param id: Wallet ID (required)
|
|
@@ -1285,7 +1311,7 @@ class WalletsApi(object):
|
|
|
1285
1311
|
:type name: str
|
|
1286
1312
|
:param token_address: Filter by token address.
|
|
1287
1313
|
:type token_address: str
|
|
1288
|
-
:param standard: 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.
|
|
1314
|
+
:param standard: 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, FungibleAsset is the standard for the Aptos chain.
|
|
1289
1315
|
:type standard: TokenStandard
|
|
1290
1316
|
: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.
|
|
1291
1317
|
:type page_before: str
|
|
@@ -1293,6 +1319,8 @@ class WalletsApi(object):
|
|
|
1293
1319
|
:type page_after: str
|
|
1294
1320
|
: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.
|
|
1295
1321
|
:type page_size: int
|
|
1322
|
+
:param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1323
|
+
:type x_request_id: str
|
|
1296
1324
|
:param async_req: Whether to execute the request asynchronously.
|
|
1297
1325
|
:type async_req: bool, optional
|
|
1298
1326
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -1328,7 +1356,8 @@ class WalletsApi(object):
|
|
|
1328
1356
|
'standard',
|
|
1329
1357
|
'page_before',
|
|
1330
1358
|
'page_after',
|
|
1331
|
-
'page_size'
|
|
1359
|
+
'page_size',
|
|
1360
|
+
'x_request_id'
|
|
1332
1361
|
]
|
|
1333
1362
|
_all_params.extend(
|
|
1334
1363
|
[
|
|
@@ -1385,6 +1414,9 @@ class WalletsApi(object):
|
|
|
1385
1414
|
|
|
1386
1415
|
# process the header parameters
|
|
1387
1416
|
_header_params = dict(_params.get('_headers', {}))
|
|
1417
|
+
if _params['x_request_id']:
|
|
1418
|
+
_header_params['X-Request-Id'] = _params['x_request_id']
|
|
1419
|
+
|
|
1388
1420
|
# process the form parameters
|
|
1389
1421
|
_form_params = []
|
|
1390
1422
|
_files = {}
|
|
@@ -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 / 6.
|
|
80
|
+
self.user_agent = (user_agent + ' / ' if user_agent else '') + 'CircleWeb3PythonSDK / DeveloperControlledWallets / 6.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: 6.
|
|
386
|
+
"SDK Package Version: 6.3.0".\
|
|
387
387
|
format(env=sys.platform, pyversion=sys.version)
|
|
388
388
|
|
|
389
389
|
def get_host_settings(self):
|
|
@@ -19,7 +19,7 @@ from aenum import Enum, no_arg
|
|
|
19
19
|
|
|
20
20
|
class AccountType(str, Enum):
|
|
21
21
|
"""
|
|
22
|
-
An account can be a Smart Contract Account (SCA) or an Externally Owned Account (EOA). To learn more, see the [account types guide](https://developers.circle.com/w3s/docs/programmable-wallets-account-types). If an account type is not specified during the creation of a wallet, it defaults to `EOA` (Externally Owned Account). Note that Solana
|
|
22
|
+
An account can be a Smart Contract Account (SCA) or an Externally Owned Account (EOA). To learn more, see the [account types guide](https://developers.circle.com/w3s/docs/programmable-wallets-account-types). If an account type is not specified during the creation of a wallet, it defaults to `EOA` (Externally Owned Account). Note that Solana and Aptos don't support Smart Contract Account (SCA).
|
|
23
23
|
"""
|
|
24
24
|
|
|
25
25
|
"""
|
|
@@ -36,7 +36,7 @@ class EOAWallet(BaseModel):
|
|
|
36
36
|
user_id: Optional[constr(strict=True, max_length=50, min_length=5)] = Field(None, alias="userId", description="Unique system generated identifier for the user.")
|
|
37
37
|
wallet_set_id: StrictStr = Field(..., alias="walletSetId", description="System-generated unique identifier of the resource.")
|
|
38
38
|
initial_public_key: Optional[StrictStr] = Field(None, alias="initialPublicKey", description="For NEAR blockchains only, the originally assigned public key of a wallet at the time of its creation.")
|
|
39
|
-
account_type: StrictStr = Field(..., alias="accountType", description="An account can be a Smart Contract Account (SCA) or an Externally Owned Account (EOA). To learn more, see the [account types guide](https://developers.circle.com/w3s/docs/programmable-wallets-account-types). If an account type is not specified during the creation of a wallet, it defaults to `EOA` (Externally Owned Account). Note that Solana
|
|
39
|
+
account_type: StrictStr = Field(..., alias="accountType", description="An account can be a Smart Contract Account (SCA) or an Externally Owned Account (EOA). To learn more, see the [account types guide](https://developers.circle.com/w3s/docs/programmable-wallets-account-types). If an account type is not specified during the creation of a wallet, it defaults to `EOA` (Externally Owned Account). Note that Solana and Aptos don't support Smart Contract Account (SCA). ")
|
|
40
40
|
__properties = ["id", "address", "blockchain", "createDate", "updateDate", "custodyType", "name", "refId", "state", "userId", "walletSetId", "initialPublicKey", "accountType"]
|
|
41
41
|
|
|
42
42
|
def __init__(self, **kwargs):
|
|
@@ -37,7 +37,7 @@ class EOAWalletWithBalances(BaseModel):
|
|
|
37
37
|
user_id: Optional[constr(strict=True, max_length=50, min_length=5)] = Field(None, alias="userId", description="Unique system generated identifier for the user.")
|
|
38
38
|
wallet_set_id: StrictStr = Field(..., alias="walletSetId", description="System-generated unique identifier of the resource.")
|
|
39
39
|
initial_public_key: Optional[StrictStr] = Field(None, alias="initialPublicKey", description="For NEAR blockchains only, the originally assigned public key of a wallet at the time of its creation.")
|
|
40
|
-
account_type: StrictStr = Field(..., alias="accountType", description="An account can be a Smart Contract Account (SCA) or an Externally Owned Account (EOA). To learn more, see the [account types guide](https://developers.circle.com/w3s/docs/programmable-wallets-account-types). If an account type is not specified during the creation of a wallet, it defaults to `EOA` (Externally Owned Account). Note that Solana
|
|
40
|
+
account_type: StrictStr = Field(..., alias="accountType", description="An account can be a Smart Contract Account (SCA) or an Externally Owned Account (EOA). To learn more, see the [account types guide](https://developers.circle.com/w3s/docs/programmable-wallets-account-types). If an account type is not specified during the creation of a wallet, it defaults to `EOA` (Externally Owned Account). Note that Solana and Aptos don't support Smart Contract Account (SCA). ")
|
|
41
41
|
token_balances: conlist(Balance) = Field(..., alias="tokenBalances", description="Lists native token balances and, if specified, USDC/EURC balances for the wallets.")
|
|
42
42
|
__properties = ["id", "address", "blockchain", "createDate", "updateDate", "custodyType", "name", "refId", "state", "userId", "walletSetId", "initialPublicKey", "accountType", "tokenBalances"]
|
|
43
43
|
|
|
@@ -37,7 +37,7 @@ class SCAWallet(BaseModel):
|
|
|
37
37
|
user_id: Optional[constr(strict=True, max_length=50, min_length=5)] = Field(None, alias="userId", description="Unique system generated identifier for the user.")
|
|
38
38
|
wallet_set_id: StrictStr = Field(..., alias="walletSetId", description="System-generated unique identifier of the resource.")
|
|
39
39
|
initial_public_key: Optional[StrictStr] = Field(None, alias="initialPublicKey", description="For NEAR blockchains only, the originally assigned public key of a wallet at the time of its creation.")
|
|
40
|
-
account_type: StrictStr = Field(..., alias="accountType", description="An account can be a Smart Contract Account (SCA) or an Externally Owned Account (EOA). To learn more, see the [account types guide](https://developers.circle.com/w3s/docs/programmable-wallets-account-types). If an account type is not specified during the creation of a wallet, it defaults to `EOA` (Externally Owned Account). Note that Solana
|
|
40
|
+
account_type: StrictStr = Field(..., alias="accountType", description="An account can be a Smart Contract Account (SCA) or an Externally Owned Account (EOA). To learn more, see the [account types guide](https://developers.circle.com/w3s/docs/programmable-wallets-account-types). If an account type is not specified during the creation of a wallet, it defaults to `EOA` (Externally Owned Account). Note that Solana and Aptos don't support Smart Contract Account (SCA). ")
|
|
41
41
|
sca_core: ScaCore = Field(..., alias="scaCore")
|
|
42
42
|
__properties = ["id", "address", "blockchain", "createDate", "updateDate", "custodyType", "name", "refId", "state", "userId", "walletSetId", "initialPublicKey", "accountType", "scaCore"]
|
|
43
43
|
|
|
@@ -38,7 +38,7 @@ class SCAWalletWithBalances(BaseModel):
|
|
|
38
38
|
user_id: Optional[constr(strict=True, max_length=50, min_length=5)] = Field(None, alias="userId", description="Unique system generated identifier for the user.")
|
|
39
39
|
wallet_set_id: StrictStr = Field(..., alias="walletSetId", description="System-generated unique identifier of the resource.")
|
|
40
40
|
initial_public_key: Optional[StrictStr] = Field(None, alias="initialPublicKey", description="For NEAR blockchains only, the originally assigned public key of a wallet at the time of its creation.")
|
|
41
|
-
account_type: StrictStr = Field(..., alias="accountType", description="An account can be a Smart Contract Account (SCA) or an Externally Owned Account (EOA). To learn more, see the [account types guide](https://developers.circle.com/w3s/docs/programmable-wallets-account-types). If an account type is not specified during the creation of a wallet, it defaults to `EOA` (Externally Owned Account). Note that Solana
|
|
41
|
+
account_type: StrictStr = Field(..., alias="accountType", description="An account can be a Smart Contract Account (SCA) or an Externally Owned Account (EOA). To learn more, see the [account types guide](https://developers.circle.com/w3s/docs/programmable-wallets-account-types). If an account type is not specified during the creation of a wallet, it defaults to `EOA` (Externally Owned Account). Note that Solana and Aptos don't support Smart Contract Account (SCA). ")
|
|
42
42
|
sca_core: ScaCore = Field(..., alias="scaCore")
|
|
43
43
|
token_balances: conlist(Balance) = Field(..., alias="tokenBalances", description="Lists native token balances and, if specified, USDC/EURC balances for the wallets.")
|
|
44
44
|
__properties = ["id", "address", "blockchain", "createDate", "updateDate", "custodyType", "name", "refId", "state", "userId", "walletSetId", "initialPublicKey", "accountType", "scaCore", "tokenBalances"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: circle-developer-controlled-wallets
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.3.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==6.
|
|
16
|
-
Requires-Dist: circle-web3-sdk-util==6.
|
|
15
|
+
Requires-Dist: circle-configurations==6.3.0
|
|
16
|
+
Requires-Dist: circle-web3-sdk-util==6.3.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: 6.
|
|
28
|
+
- Package version: 6.3.0
|
|
29
29
|
|
|
30
30
|
## Requirements.
|
|
31
31
|
|