Six tools manage Veil wallets. A wallet is a blockchain address that holds crypto on a specific chain. Deposits received there can convert to fiat automatically (auto-settle) or stay as crypto until you run an offramp manually.Documentation Index
Fetch the complete documentation index at: https://docs.useveil.co/llms.txt
Use this file to discover all available pages before exploring further.
veil_wallets_list
List your wallets with balances, deposit addresses, and bank account pointers. Auto-provisions default wallets on first access for fully-onboarded users. Inputs None. Outputsok on success, error on failure.Array of wallet records. Each has:
id, name, chain, chainName, depositAddress, supportedAssets, balance (map of asset to amount string), createdAt, and bankAccount ({ id, suffixLast4, currency } or null).Aggregate balance across all wallets, keyed by asset.
Present when the user has not completed onboarding. Describes the missing step.
Error description when
status is error.veil_wallet_create
Create a new wallet on a specific chain. Requires completed KYC and a bank account. Returns an error if a wallet already exists on the requested chain. InputsBlockchain to create the wallet on. One of
ethereum, base, polygon, or solana.Optional display name for the wallet.
ok on success, error on failure.The newly created wallet record. Same shape as each item in
veil_wallets_list.Error description when
status is error. Common values include A wallet already exists on this chain and Complete onboarding first.veil_wallet_get
Get details for a specific wallet, including deposit address, balance, and the last 10 transactions. To see auto-settle configuration, callveil_rules_list.
Inputs
Wallet ID from
veil_wallets_list.ok on success, error on failure.Full wallet record. Same shape as
veil_wallets_list.Last 10 transactions for this wallet. Each has:
id, type, status, amountIn, assetIn, amountOut, currencyOut, fee, wireRef, createdAt, settledAt.Error description when
status is error.veil_wallet_set_primary_bank
Reassign a wallet’s default payout bank account. The deposit address and any auto-settle rule are preserved. Callveil_bank_accounts_list first to see available bank accounts.
Cannot be changed while transactions are in flight.
Inputs
Wallet to update.
Bank account to set as primary. From
veil_bank_accounts_list.ok on success, error on failure.Updated wallet record with the new
bankAccount pointer.Error description when
status is error.veil_wallet_set_source_address
Enable or update the auto-settle rule for a wallet. Deposits arriving from the specified source address will automatically convert to fiat. On success,minimum may be returned — the smallest deposit that triggers auto-conversion. Deposits below the minimum land in the wallet normally but don’t auto-convert.
Inputs
Wallet to configure.
The sending address to watch. Deposits from this address trigger auto-settle.
Optional. Route the rule to a specific bank account. Omit to keep the wallet’s current payout bank.
ok on success, error on failure.The active auto-settle rule. Contains
walletId, chain, chainName, sourceAddress, createdAt, bankAccount ({ id, suffixLast4, currency }), and optionally minimum.The corridor minimum, if one applies. Has
fiat (number), fiatCurrency, sourceMin (number), and sourceCurrency. Null if no minimum applies.Error description when
status is error.veil_wallet_disable_auto_settle
Disable the auto-settle rule for a wallet. Future deposits land in the wallet as crypto. In-flight transactions complete normally. The deposit address is preserved. InputsWallet to disable auto-settle on.
ok on success, error on failure.Null on successful disable.
Error description when
status is error.See also
- Wallets — what wallets are and how balances work
- Auto-settle — the automatic conversion model
- Rules tools — inspect active auto-settle rules