POST /wallet/delete
Deletes a wallet owned by your account.
Request
Field | Type | Required | Notes |
---|---|---|---|
api_key | string | ✓ | Customer API key. |
wallet_id | string | ✓ | Wallet ID (w_<uuid> ) or on-chain address. |
Response
- Returns the
wallet_name
of the deleted wallet. - Plan quotas are recalculated so another wallet may become included in plan.
Errors
Status | Payload | When it happens |
---|---|---|
400 | { "error": "Missing required fields" } | Missing parameters. |
403 | { "error": "API key is not valid" } | API key fails validation. |
404 | { "error": "Wallet not found" } | Wallet does not exist or isn’t owned by your account. |
500 | { "error": "<message>" } | Unexpected service error. |
SDK equivalents
- JavaScript:
client.deleteWallet({ walletId })
- Python:
client.delete_wallet(wallet_id)