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

Function walletLog

ui/src/api/trading.ts:103–107  ·  view source on GitHub ↗
(utaId: string, limit = 20, symbol?: string)

Source from the content-addressed store, hash-verified

101 },
102
103 async walletLog(utaId: string, limit = 20, symbol?: string): Promise<{ commits: WalletCommitLog[] }> {
104 const params = new URLSearchParams({ limit: String(limit) })
105 if (symbol) params.set('symbol', symbol)
106 return fetchJson(`/api/trading/uta/${utaId}/wallet/log?${params}`)
107 },
108
109 async walletShow(utaId: string, hash: string): Promise<unknown> {
110 return fetchJson(`/api/trading/uta/${utaId}/wallet/show/${hash}`)

Callers

nothing calls this directly

Calls 2

fetchJsonFunction · 0.90
setMethod · 0.65

Tested by

no test coverage detected