Wallets

LEGACY: upload the re-encrypted payload and wipe the server's plaintext copy

One-time migration; irreversible. Already-secured wallets refuse with 409.

post/api/v1/wallets/{id}/secure

Request

  • Base URL: https://saltapp.ai
  • URL: https://saltapp.ai/api/v1/wallets/{id}/secure
  • Auth: API key in header api-key

Path parameters

idstring required

Request body

encrypted_payloadstring required

Response

OK

idstring uuid required
public_idstring
user_idstring uuid
wallet_typestring
chainstring required
testnetboolean
name_customstring nullable
name_3string

The chain's ticker, e.g. ETH, MATIC, BTC.

public_addressstring required
public_keystring nullable
balancestring nullable
valuestring nullable

USD value, refreshed periodically.

publicboolean
defaultboolean
backedupboolean
encrypted_payloadstring nullable
encryption_scheme'vault' | 'agent_local' | 'external'
created_atstring date-time nullable
updated_atstring date-time nullable
tokensobject[]

Changes

No recorded changes to this operation across all 3 revisions of this API.