1Shot API icon

1Shot API

Interact with EVM blockchains via 1Shot API

Wallet → Update Wallet

AI-generated

Overview

This node operation updates an existing wallet in the 1Shot API system. It allows users to modify wallet details such as the wallet's name and description, optionally specifying the blockchain chain by name or ID. This operation is useful for managing wallet metadata within blockchain applications, enabling users to keep wallet information current and accurate.

Use Case Examples

  1. Updating the name and description of a wallet to reflect new usage or ownership.
  2. Changing the associated blockchain chain for a wallet to align with a different network.

Properties

Name Meaning
Chain Name or ID Optionally specify the blockchain chain by name or ID to which the wallet belongs.
Wallet Name or ID The identifier of the wallet to update, chosen from a list or specified via expression.
Name The new name to assign to the wallet.
Description A new description for the wallet.

Output

JSON

  • id - The unique identifier of the updated wallet.
  • name - The updated name of the wallet.
  • description - The updated description of the wallet.
  • chainId - The blockchain chain ID associated with the wallet.
  • updatedAt - Timestamp indicating when the wallet was last updated.

Dependencies

  • 1Shot API service accessed via OAuth2 API credentials

Troubleshooting

  • Ensure the wallet ID specified exists; otherwise, the update operation will fail.
  • If the chain ID is provided, it must be valid and recognized by the 1Shot API.
  • Authentication errors may occur if OAuth2 credentials are missing or invalid.
  • Network or API errors can cause the update to fail; check connectivity and API status.

Links

Discussion