Update Wallet Details
Last updated
Last updated
To update the details of a wallet such as title, project, or password, a PATCH request to the /wallet/<wallet_name>
endpoint.
PATCH
https://api.playfix.io/wallet/<wallet_name>
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Example cURL Call
Example Python API Call
Request Body
title
- The title of the wallet.
description
- A short description of the wallet.
project
- The name
of the project that will contain the wallet.
network
- Name of the blockchain network the wallet will be created on. You can set this to any of the following network values, depending on your preference:
NETWORK_ETHEREUM
: Ethereum mainnet.
NETWORK_ETHEREUM_RINKEBY
: Ethereum Gorli testnet. For testing purposes only.
NETWORK_POLYGON
: Polygon mainnet.
NETWORK_POLYGON_MUMBAI
: Polygon Mumbai testnet. For testing purposes only.
password
- The password for the wallet. The password must be exactly 32 characters long. Example: 32CharacterPassword2MoonarWallet
Response
The response fields are the same as in the wallet creation process.
<wallet_name>*
String
Name of the wallet you want to update. This should be the value of name
from a previously created wallet. It begins with "wallets/
" followed by a ULID.
Authorization*
String
Bearer <your_access_token>
password
String
The password for the wallet. The password must be exactly 32 characters long. Example: 32CharacterPassword2MoonarWallet
network
String
Name of the network where the token will be deployed. Accepted values include:
NETWORK_ETHEREUM
,
NETWORK_ETHEREUM_RINKERBY
,
NETWORK
_POLYGON
, or
NETWORK_POLYGON_MUMBAI
.
project
String
The name
of the project that will contain the wallet.
description
String
A short description of the wallet.
title
String
The title of the wallet.