User Info
Endpoint
Section titled “Endpoint”GET /agent/user
Returns your user profile and the wallet addresses associated with your agent across all supported chains.
Examples
Section titled “Examples”curl https://api.bankr.bot/agent/user \ -H "X-API-Key: bk_YOUR_KEY"const user = await fetch("https://api.bankr.bot/agent/user", { headers: { "X-API-Key": process.env.BANKR_API_KEY! },}).then(r => r.json());
console.log("Wallets:", user.wallets);Response
Section titled “Response”{ "user": { "id": "user_abc123", "email": "agent@example.com", "wallets": { "base": "0x1234...abcd", "ethereum": "0x1234...abcd", "polygon": "0x1234...abcd", "unichain": "0x1234...abcd", "solana": "Abc123...xyz" } }}