Wallets

Register a wallet

Salt never accepts a plaintext private key or mnemonic -- send encrypted_payload, client-side AES-GCM ciphertext the server cannot open.

post/api/v1/wallets

Request

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

Request body

chainstring required
testnetboolean
wallet_typestring
name_customstring
name_3string
public_addressstring required
public_keystring
encrypted_payloadstring required
publicboolean
defaultboolean
importedboolean

True for a wallet the person already held elsewhere; it is stored as backed up.

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.