- Create or fetch a high-yield wallet.
- Sweep funds on-chain to one of the
depositAddresses[chain].addressvalues. - Use the deposits endpoints to confirm that Braid has detected and processed the deposit.
1. Get deposit addresses
First, create a wallet or fetch an existing wallet to obtain the per-chain deposit addresses.address.
2. Send an on-chain transfer
From your wallet infrastructure, send a standard ERC-20 or SPL transfer to the deposit address. For example, for an Arbitrum USDC deposit:- Detect the transfer.
- Sweep funds into the high-yield liquidity pool.
- Insert a
high_yield_wallet_depositsrow and update snapshots.
3. List deposits for a high-yield wallet
Use the deposits listing endpoint to confirm that a deposit has been seen and processed.statusmoves fromcreated/processingtocompletedwhen the sweep is done.processedAtindicates when the deposit was fully processed and snapshots updated.
4. Get a single deposit by id
5. Lookup by transaction hash
If you only have a transaction hash, use the lookup endpoint:GET /high-yield-wallets/deposits/{depositId}. It is useful when reconciling on-chain events from your explorer or indexer back to the Braid accounting layer.