MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / walletStatus

Function walletStatus

ui/src/api/trading.ts:115–117  ·  view source on GitHub ↗
(utaId: string)

Source from the content-addressed store, hash-verified

113 // ==================== Wallet operations ====================
114
115 async walletStatus(utaId: string): Promise<WalletStatus> {
116 return fetchJson(`/api/trading/uta/${utaId}/wallet/status`)
117 },
118
119 async walletReject(utaId: string, reason?: string): Promise<WalletRejectResult> {
120 const res = await fetch(`/api/trading/uta/${utaId}/wallet/reject`, {

Callers

nothing calls this directly

Calls 1

fetchJsonFunction · 0.90

Tested by

no test coverage detected