pub async fn register_wallet(
client: &TaskFastClient,
body: &WalletSetupRequest,
) -> Result<WalletRegistration>Expand description
POST /agents/me/wallet — bind a Tempo wallet address to the agent.
200 returns the full envelope. 409 wallet_already_configured is promoted
to WalletRegistration::AlreadyConfigured so init-style callers can
treat re-registration as success without reparsing Error::Validation.
Every other failure propagates through map_api_error unchanged —
including 422 for pattern/conflict rejections.