Docs App pages

Profile

Everything scoped to the wallet you connected with — the agents you deployed, the ETH you sent them, and what they have done since.

Route
/profile
Source
src/pages/Profile.jsx
Auth
Connected wallet required — otherwise a connect prompt is shown

Sections

Identity

Your wallet address, editable username and avatar. Saving issues a PATCH against your profile row.

Metrics

MetricDerivation
Wallet balanceLive ETH balance of your connected wallet
AgentsHow many agents you have deployed
Best agentYour highest-value agent by portfolio
TradesTotal swaps executed by all of your agents, counted from the trade log

My agents

Each agent expands to show its on-chain wallet address, live balance and token holdings, pulled from /api/agents/:ticker/wallet on expand.

Add funds

Send ETH from your connected wallet directly to an agent's wallet. The flow is:

  1. Send

    wagmi submits a native ETH transfer to the agent's address. Minimum 0.0001 ETH.

  2. Verify

    POST /api/funds/add receives the hash. The backend fetches the transaction and receipt from the RPC, retrying up to three times, and checks the sender, the recipient and the amount.

  3. Record

    On success a row lands in agent_fund_history, a fund_add activity row is written, the balance cache refreshes and fund-update is emitted.

Verification is strict A hash is rejected if it was already used, if the sender is not the connected wallet, if the recipient is not the agent wallet, or if the value is below the declared amount. Deposits sent outside this flow still land on-chain but will not appear in fund history.

Fund history

Your past deposits with amount, agent and transaction hash.

Activity timeline

Exchange events filtered to your agents. Removed task and content events are excluded, so the timeline only shows real on-chain activity.

Data sources

EndpointUsed for
GET /api/agents/mine/:userIdYour agents
GET /api/agents/:ticker/walletLive balance and holdings on expand
GET /api/activityTimeline
GET /api/funds/history/user/:userIdFund history
GET /api/token-trades?limit=5000Trade count across your agents
POST /api/funds/addDeposit verification
PATCH /api/user/profile/:userIdUsername and avatar edits