circle-developer-controlled-wallets 6.0.0__py3-none-any.whl → 8.1.1__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.
- circle/web3/developer_controlled_wallets/__init__.py +6 -1
- circle/web3/developer_controlled_wallets/api/signing_api.py +65 -31
- circle/web3/developer_controlled_wallets/api/transactions_api.py +299 -58
- circle/web3/developer_controlled_wallets/api/wallet_sets_api.py +16 -8
- circle/web3/developer_controlled_wallets/api/wallets_api.py +62 -30
- circle/web3/developer_controlled_wallets/api_client.py +1 -1
- circle/web3/developer_controlled_wallets/configuration.py +9 -2
- circle/web3/developer_controlled_wallets/models/__init__.py +5 -0
- circle/web3/developer_controlled_wallets/models/abi_parameters_inner.py +5 -5
- circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer.py +10 -2
- circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer_request.py +11 -3
- circle/web3/developer_controlled_wallets/models/account_type.py +1 -1
- circle/web3/developer_controlled_wallets/models/bad_request_response.py +11 -3
- circle/web3/developer_controlled_wallets/models/balance.py +12 -4
- circle/web3/developer_controlled_wallets/models/balances.py +10 -2
- circle/web3/developer_controlled_wallets/models/balances_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/base_screening_decision.py +12 -4
- circle/web3/developer_controlled_wallets/models/blockchain.py +3 -0
- circle/web3/developer_controlled_wallets/models/cancel_transaction_for_developer.py +10 -2
- circle/web3/developer_controlled_wallets/models/cancel_transaction_for_developer_request.py +11 -3
- circle/web3/developer_controlled_wallets/models/contract_execution_blockchain.py +2 -1
- circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer.py +10 -2
- circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer_request.py +34 -21
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request.py +37 -24
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request_blockchain.py +130 -0
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_response.py +10 -2
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_response_data.py +11 -3
- circle/web3/developer_controlled_wallets/models/create_wallet_request.py +16 -8
- circle/web3/developer_controlled_wallets/models/create_wallet_set_request.py +12 -4
- circle/web3/developer_controlled_wallets/models/create_wallet_upgrade_transaction_for_developer.py +10 -2
- circle/web3/developer_controlled_wallets/models/create_wallet_upgrade_transaction_for_developer_request.py +24 -16
- circle/web3/developer_controlled_wallets/models/derive_wallet_request.py +10 -2
- circle/web3/developer_controlled_wallets/models/developer_wallet_set.py +13 -5
- circle/web3/developer_controlled_wallets/models/end_user_wallet_set.py +14 -6
- circle/web3/developer_controlled_wallets/models/eoa_wallet.py +23 -15
- circle/web3/developer_controlled_wallets/models/eoa_wallet_with_balances.py +24 -16
- circle/web3/developer_controlled_wallets/models/error.py +11 -3
- circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request.py +18 -10
- circle/web3/developer_controlled_wallets/models/estimate_transaction_fee.py +10 -2
- circle/web3/developer_controlled_wallets/models/estimate_transaction_fee_data.py +15 -7
- circle/web3/developer_controlled_wallets/models/estimate_transfer_transaction_fee_request.py +18 -10
- circle/web3/developer_controlled_wallets/models/evm_blockchain.py +2 -0
- circle/web3/developer_controlled_wallets/models/fee_level.py +1 -1
- circle/web3/developer_controlled_wallets/models/get_lowest_nonce_transaction_response.py +95 -0
- circle/web3/developer_controlled_wallets/models/get_lowest_nonce_transaction_response_data.py +101 -0
- circle/web3/developer_controlled_wallets/models/lowest_nonce_transaction_fee_info.py +97 -0
- circle/web3/developer_controlled_wallets/models/nft.py +14 -6
- circle/web3/developer_controlled_wallets/models/nfts.py +10 -2
- circle/web3/developer_controlled_wallets/models/nfts_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/not_authorized_response.py +11 -3
- circle/web3/developer_controlled_wallets/models/not_found_response.py +11 -3
- circle/web3/developer_controlled_wallets/models/risk_signal.py +14 -6
- circle/web3/developer_controlled_wallets/models/sca_wallet.py +24 -16
- circle/web3/developer_controlled_wallets/models/sca_wallet_with_balances.py +25 -17
- circle/web3/developer_controlled_wallets/models/sign_delegate_action_request.py +12 -4
- circle/web3/developer_controlled_wallets/models/sign_delegate_action_response.py +10 -2
- circle/web3/developer_controlled_wallets/models/sign_delegate_action_response_data.py +11 -3
- circle/web3/developer_controlled_wallets/models/sign_message_request.py +21 -8
- circle/web3/developer_controlled_wallets/models/sign_transaction_request.py +21 -8
- circle/web3/developer_controlled_wallets/models/sign_transaction_response.py +10 -2
- circle/web3/developer_controlled_wallets/models/sign_transaction_response_data.py +12 -4
- circle/web3/developer_controlled_wallets/models/sign_typed_data_request.py +20 -7
- circle/web3/developer_controlled_wallets/models/signature_response.py +10 -2
- circle/web3/developer_controlled_wallets/models/signature_response_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/token.py +19 -11
- circle/web3/developer_controlled_wallets/models/token_blockchain.py +3 -0
- circle/web3/developer_controlled_wallets/models/token_response.py +10 -2
- circle/web3/developer_controlled_wallets/models/token_response_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/transaction.py +41 -33
- circle/web3/developer_controlled_wallets/models/transaction_fee.py +24 -12
- circle/web3/developer_controlled_wallets/models/transaction_response.py +10 -2
- circle/web3/developer_controlled_wallets/models/transaction_response_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/transaction_screening_decision.py +13 -5
- circle/web3/developer_controlled_wallets/models/transaction_state.py +2 -1
- circle/web3/developer_controlled_wallets/models/transactions.py +10 -2
- circle/web3/developer_controlled_wallets/models/transactions_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/transfer_blockchain.py +53 -0
- circle/web3/developer_controlled_wallets/models/update_wallet_request.py +11 -3
- circle/web3/developer_controlled_wallets/models/update_wallet_set_request.py +10 -2
- circle/web3/developer_controlled_wallets/models/validate_address.py +10 -2
- circle/web3/developer_controlled_wallets/models/validate_address_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/validate_address_request.py +11 -3
- circle/web3/developer_controlled_wallets/models/wallet.py +21 -13
- circle/web3/developer_controlled_wallets/models/wallet_metadata.py +11 -3
- circle/web3/developer_controlled_wallets/models/wallet_response.py +10 -2
- circle/web3/developer_controlled_wallets/models/wallet_response_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/wallet_set.py +12 -4
- circle/web3/developer_controlled_wallets/models/wallet_set_response.py +10 -2
- circle/web3/developer_controlled_wallets/models/wallet_set_response_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/wallet_sets.py +10 -2
- circle/web3/developer_controlled_wallets/models/wallet_sets_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/wallets.py +10 -2
- circle/web3/developer_controlled_wallets/models/wallets_data.py +10 -2
- circle/web3/developer_controlled_wallets/models/wallets_with_balances.py +10 -2
- circle/web3/developer_controlled_wallets/models/wallets_with_balances_data.py +10 -2
- {circle_developer_controlled_wallets-6.0.0.dist-info → circle_developer_controlled_wallets-8.1.1.dist-info}/METADATA +4 -4
- {circle_developer_controlled_wallets-6.0.0.dist-info → circle_developer_controlled_wallets-8.1.1.dist-info}/RECORD +100 -95
- {circle_developer_controlled_wallets-6.0.0.dist-info → circle_developer_controlled_wallets-8.1.1.dist-info}/WHEEL +1 -1
- {circle_developer_controlled_wallets-6.0.0.dist-info → circle_developer_controlled_wallets-8.1.1.dist-info}/top_level.txt +0 -0
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
|
|
@@ -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']:
|
|
@@ -76,7 +76,7 @@ class WalletsApi(object):
|
|
|
76
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
77
|
"""Create wallets # noqa: E501
|
|
78
78
|
|
|
79
|
-
|
|
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
|
|
80
80
|
This method makes a synchronous HTTP request by default. To make an
|
|
81
81
|
asynchronous HTTP request, please pass async_req=True
|
|
82
82
|
|
|
@@ -108,7 +108,7 @@ class WalletsApi(object):
|
|
|
108
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
109
|
"""Create wallets # noqa: E501
|
|
110
110
|
|
|
111
|
-
|
|
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
|
|
112
112
|
This method makes a synchronous HTTP request by default. To make an
|
|
113
113
|
asynchronous HTTP request, please pass async_req=True
|
|
114
114
|
|
|
@@ -236,7 +236,7 @@ class WalletsApi(object):
|
|
|
236
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
237
|
"""Derive a wallet # noqa: E501
|
|
238
238
|
|
|
239
|
-
Derives an EOA 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
|
|
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
|
|
240
240
|
This method makes a synchronous HTTP request by default. To make an
|
|
241
241
|
asynchronous HTTP request, please pass async_req=True
|
|
242
242
|
|
|
@@ -272,7 +272,7 @@ class WalletsApi(object):
|
|
|
272
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
273
|
"""Derive a wallet # noqa: E501
|
|
274
274
|
|
|
275
|
-
Derives an EOA 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
|
|
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
|
|
276
276
|
This method makes a synchronous HTTP request by default. To make an
|
|
277
277
|
asynchronous HTTP request, please pass async_req=True
|
|
278
278
|
|
|
@@ -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 = {}
|
|
@@ -783,7 +799,7 @@ class WalletsApi(object):
|
|
|
783
799
|
def get_wallets_with_balances(self, blockchain : Annotated[Blockchain, Field(..., description="Filter by blockchain.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, address : Annotated[Optional[StrictStr], Field(description="Filter by the blockchain address of the wallet.")] = None, sca_core : Annotated[Optional[ScaCore], Field(description="Filters results by the SCA version.")] = None, wallet_set_id : Annotated[Optional[StrictStr], Field(description="Filter by the wallet set.")] = None, ref_id : Annotated[Optional[StrictStr], Field(description="Filter by the reference identifier.")] = None, amount__gte : Annotated[Optional[StrictStr], Field(description="Filters wallets with a balance greater than or equal to the specified amount. If `tokenAddress` is provided, the filter applies to the specified token; otherwise, it applies to the native token.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token address.")] = None, var_from : Annotated[Optional[datetime], Field(description="Queries items created since the specified date-time (inclusive) in ISO 8601 format.")] = None, to : Annotated[Optional[datetime], Field(description="Queries items created before the specified date-time (inclusive) in ISO 8601 format.")] = None, page_before : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter. ")] = None, page_after : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore. ")] = None, page_size : Annotated[Optional[conint(strict=True, le=50, ge=1)], Field(description="Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself. ")] = None, **kwargs) -> WalletsWithBalances: # noqa: E501
|
|
784
800
|
"""List wallets with balances # noqa: E501
|
|
785
801
|
|
|
786
|
-
Retrieves a list of wallets that match the specified parameters
|
|
802
|
+
Retrieves a list of all wallets that match the specified parameters. Wallet balances update automatically after each transfer. **Note**: On Aptos, this endpoint only returns balances for tokens stored in primary storage. Tokens held in [AIP-21](https://github.com/aptos-labs/aptos-core/releases/tag/aptos-node-v1.5.0) secondary storage are excluded from balance queries and deposit notifications to prevent incorrect or misleading results from secondary storage-based state changes. # noqa: E501
|
|
787
803
|
This method makes a synchronous HTTP request by default. To make an
|
|
788
804
|
asynchronous HTTP request, please pass async_req=True
|
|
789
805
|
|
|
@@ -837,7 +853,7 @@ class WalletsApi(object):
|
|
|
837
853
|
def get_wallets_with_balances_with_http_info(self, blockchain : Annotated[Blockchain, Field(..., description="Filter by blockchain.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, address : Annotated[Optional[StrictStr], Field(description="Filter by the blockchain address of the wallet.")] = None, sca_core : Annotated[Optional[ScaCore], Field(description="Filters results by the SCA version.")] = None, wallet_set_id : Annotated[Optional[StrictStr], Field(description="Filter by the wallet set.")] = None, ref_id : Annotated[Optional[StrictStr], Field(description="Filter by the reference identifier.")] = None, amount__gte : Annotated[Optional[StrictStr], Field(description="Filters wallets with a balance greater than or equal to the specified amount. If `tokenAddress` is provided, the filter applies to the specified token; otherwise, it applies to the native token.")] = None, token_address : Annotated[Optional[StrictStr], Field(description="Filter by token address.")] = None, var_from : Annotated[Optional[datetime], Field(description="Queries items created since the specified date-time (inclusive) in ISO 8601 format.")] = None, to : Annotated[Optional[datetime], Field(description="Queries items created before the specified date-time (inclusive) in ISO 8601 format.")] = None, page_before : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter. ")] = None, page_after : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore. ")] = None, page_size : Annotated[Optional[conint(strict=True, le=50, ge=1)], Field(description="Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself. ")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
838
854
|
"""List wallets with balances # noqa: E501
|
|
839
855
|
|
|
840
|
-
Retrieves a list of wallets that match the specified parameters
|
|
856
|
+
Retrieves a list of all wallets that match the specified parameters. Wallet balances update automatically after each transfer. **Note**: On Aptos, this endpoint only returns balances for tokens stored in primary storage. Tokens held in [AIP-21](https://github.com/aptos-labs/aptos-core/releases/tag/aptos-node-v1.5.0) secondary storage are excluded from balance queries and deposit notifications to prevent incorrect or misleading results from secondary storage-based state changes. # noqa: E501
|
|
841
857
|
This method makes a synchronous HTTP request by default. To make an
|
|
842
858
|
asynchronous HTTP request, please pass async_req=True
|
|
843
859
|
|
|
@@ -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
|
-
Fetches the digital asset balance for a single developer-controlled wallet using its unique identifier. # noqa: E501
|
|
1046
|
+
Fetches the digital asset balance for a single developer-controlled wallet using its unique identifier. **Note**: On Aptos, this endpoint only returns balances for tokens stored in primary storage. Tokens held in [AIP-21](https://github.com/aptos-labs/aptos-core/releases/tag/aptos-node-v1.5.0) secondary storage are excluded from balance queries and deposit notifications to prevent incorrect or misleading results from secondary storage-based state changes. # 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
|
-
Fetches the digital asset balance for a single developer-controlled wallet using its unique identifier. # noqa: E501
|
|
1092
|
+
Fetches the digital asset balance for a single developer-controlled wallet using its unique identifier. **Note**: On Aptos, this endpoint only returns balances for tokens stored in primary storage. Tokens held in [AIP-21](https://github.com/aptos-labs/aptos-core/releases/tag/aptos-node-v1.5.0) secondary storage are excluded from balance queries and deposit notifications to prevent incorrect or misleading results from secondary storage-based state changes. # 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 /
|
|
80
|
+
self.user_agent = (user_agent + ' / ' if user_agent else '') + 'CircleWeb3PythonSDK / DeveloperControlledWallets / 8.1.1'
|
|
81
81
|
self.client_side_validation = configuration.client_side_validation
|
|
82
82
|
|
|
83
83
|
def __enter__(self):
|
|
@@ -68,7 +68,10 @@ class Configuration(object):
|
|
|
68
68
|
):
|
|
69
69
|
"""Constructor
|
|
70
70
|
"""
|
|
71
|
+
# CUSTOMIZATION: Hardcoded base path to production URL instead of using https://api-sandbox.circle.com from OpenAPI spec
|
|
72
|
+
# This ensures consistent behavior regardless of OpenAPI spec changes
|
|
71
73
|
self._base_path = "https://api.circle.com" if host is None else host
|
|
74
|
+
# END CUSTOMIZATION
|
|
72
75
|
"""Default Base url
|
|
73
76
|
"""
|
|
74
77
|
self.server_index = 0 if server_index is None and host is None else server_index
|
|
@@ -383,9 +386,12 @@ class Configuration(object):
|
|
|
383
386
|
"OS: {env}\n"\
|
|
384
387
|
"Python Version: {pyversion}\n"\
|
|
385
388
|
"Version of the API: 1.0\n"\
|
|
386
|
-
"SDK Package Version:
|
|
389
|
+
"SDK Package Version: 8.1.1".\
|
|
387
390
|
format(env=sys.platform, pyversion=sys.version)
|
|
388
391
|
|
|
392
|
+
# CUSTOMIZATION: Modified get_host_settings to use hardcoded URLs
|
|
393
|
+
# instead of dynamic generation from OpenAPI spec
|
|
394
|
+
# This ensures consistent URLs across environments
|
|
389
395
|
def get_host_settings(self):
|
|
390
396
|
"""Gets an array of host settings
|
|
391
397
|
|
|
@@ -394,9 +400,10 @@ class Configuration(object):
|
|
|
394
400
|
return [
|
|
395
401
|
{
|
|
396
402
|
'url': "https://api.circle.com",
|
|
397
|
-
'description': "
|
|
403
|
+
'description': "Production environment",
|
|
398
404
|
}
|
|
399
405
|
]
|
|
406
|
+
# END CUSTOMIZATION
|
|
400
407
|
|
|
401
408
|
def get_host_from_settings(self, index, variables=None, servers=None):
|
|
402
409
|
"""Gets host URL based on the index and variables
|
|
@@ -27,6 +27,7 @@ from circle.web3.developer_controlled_wallets.models.contract_execution_blockcha
|
|
|
27
27
|
from circle.web3.developer_controlled_wallets.models.create_contract_execution_transaction_for_developer import CreateContractExecutionTransactionForDeveloper
|
|
28
28
|
from circle.web3.developer_controlled_wallets.models.create_contract_execution_transaction_for_developer_request import CreateContractExecutionTransactionForDeveloperRequest
|
|
29
29
|
from circle.web3.developer_controlled_wallets.models.create_transfer_transaction_for_developer_request import CreateTransferTransactionForDeveloperRequest
|
|
30
|
+
from circle.web3.developer_controlled_wallets.models.create_transfer_transaction_for_developer_request_blockchain import CreateTransferTransactionForDeveloperRequestBlockchain
|
|
30
31
|
from circle.web3.developer_controlled_wallets.models.create_transfer_transaction_for_developer_response import CreateTransferTransactionForDeveloperResponse
|
|
31
32
|
from circle.web3.developer_controlled_wallets.models.create_transfer_transaction_for_developer_response_data import CreateTransferTransactionForDeveloperResponseData
|
|
32
33
|
from circle.web3.developer_controlled_wallets.models.create_wallet_request import CreateWalletRequest
|
|
@@ -46,6 +47,9 @@ from circle.web3.developer_controlled_wallets.models.estimate_transaction_fee_da
|
|
|
46
47
|
from circle.web3.developer_controlled_wallets.models.estimate_transfer_transaction_fee_request import EstimateTransferTransactionFeeRequest
|
|
47
48
|
from circle.web3.developer_controlled_wallets.models.evm_blockchain import EvmBlockchain
|
|
48
49
|
from circle.web3.developer_controlled_wallets.models.fee_level import FeeLevel
|
|
50
|
+
from circle.web3.developer_controlled_wallets.models.get_lowest_nonce_transaction_response import GetLowestNonceTransactionResponse
|
|
51
|
+
from circle.web3.developer_controlled_wallets.models.get_lowest_nonce_transaction_response_data import GetLowestNonceTransactionResponseData
|
|
52
|
+
from circle.web3.developer_controlled_wallets.models.lowest_nonce_transaction_fee_info import LowestNonceTransactionFeeInfo
|
|
49
53
|
from circle.web3.developer_controlled_wallets.models.new_sca_core import NewScaCore
|
|
50
54
|
from circle.web3.developer_controlled_wallets.models.nft import Nft
|
|
51
55
|
from circle.web3.developer_controlled_wallets.models.nfts import Nfts
|
|
@@ -85,6 +89,7 @@ from circle.web3.developer_controlled_wallets.models.transaction_state import Tr
|
|
|
85
89
|
from circle.web3.developer_controlled_wallets.models.transaction_type import TransactionType
|
|
86
90
|
from circle.web3.developer_controlled_wallets.models.transactions import Transactions
|
|
87
91
|
from circle.web3.developer_controlled_wallets.models.transactions_data import TransactionsData
|
|
92
|
+
from circle.web3.developer_controlled_wallets.models.transfer_blockchain import TransferBlockchain
|
|
88
93
|
from circle.web3.developer_controlled_wallets.models.update_wallet_request import UpdateWalletRequest
|
|
89
94
|
from circle.web3.developer_controlled_wallets.models.update_wallet_set_request import UpdateWalletSetRequest
|
|
90
95
|
from circle.web3.developer_controlled_wallets.models.validate_address import ValidateAddress
|
|
@@ -150,16 +150,16 @@ class AbiParametersInner(BaseModel):
|
|
|
150
150
|
else:
|
|
151
151
|
return json.dumps(self.actual_instance)
|
|
152
152
|
|
|
153
|
-
def to_dict(self)
|
|
153
|
+
def to_dict(self):
|
|
154
154
|
"""Returns the dict representation of the actual instance"""
|
|
155
155
|
if self.actual_instance is None:
|
|
156
|
-
return
|
|
156
|
+
return None
|
|
157
157
|
|
|
158
|
-
|
|
159
|
-
if callable(
|
|
158
|
+
to_dict = getattr(self.actual_instance, "to_dict", None)
|
|
159
|
+
if callable(to_dict):
|
|
160
160
|
return self.actual_instance.to_dict()
|
|
161
161
|
else:
|
|
162
|
-
return json.dumps(
|
|
162
|
+
return self.actual_instance # Return actual value instead of json.dumps()
|
|
163
163
|
|
|
164
164
|
def to_str(self) -> str:
|
|
165
165
|
"""Returns the string representation of the actual instance"""
|