(utaId: string, limit = 20, symbol?: string)
| 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}`) |