Updates a user-controlled wallet by its unique identifier.
Represents the input parameters for updating a wallet.
Unique system-generated identifier for the user.
The ID of the wallet to be updated.
The new name for the wallet.
The new refId for the wallet.
The JSON Web Token (JWT) representing the user.
The ID of the wallet to be updated.
The new name for the wallet.
The new refId for the wallet.
1const response = await client.updateWallet({
2 id: 'wallet-id',
3 userToken: 'dummy-user-token',
4 name: 'New Name',
5})
6console.log(response.data?.wallet)