Updates info metadata of a wallet.
Name or description associated with the wallet or walletSet.
Reference or description used to identify the object.
The universally unique identifier of the resource.
Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
1from circle.web3 import developer_controlled_wallets
2from circle.web3 import utils
3
4client = utils.init_developer_controlled_wallets_client(api_key=key, entity_secret=entitySecret)
5
6api_instance = developer_controlled_wallets.WalletsApi(client)
7request = developer_controlled_wallets.UpdateWalletRequest.from_dict({
8 "name": "update-name",
9})
10response = api_instance.update_wallet(id="301e9038-e4c3-5a77-a9fe-95fd644f4c85", update_wallet_request=request)
11print(response.json())
12
1{
2 "data": {
3 "wallet": {
4 "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
5 "address": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
6 "blockchain": "MATIC-AMOY",
7 "create_date": "2023-01-01T12:04:05Z",
8 "update_date": "2023-01-01T12:04:05Z",
9 "custody_type": "DEVELOPER",
10 "name": "",
11 "ref_id": "custom_ref_id",
12 "state": "LIVE",
13 "user_id": "ext_user_id_1",
14 "wallet_set_id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
15 "initial_public_key": "3eQoJ3ex6uWX3R8F1THF6Y6oBQwPYpF1X9HBM1gjqw7w",
16 "account_type": "EOA"
17 }
18 }
19}