HistoryFetch
HistoryFetch = (
input,init?) =>Promise<{ok:boolean;status:number;json:Promise<unknown>; }>
Defined in: wallet-tron/src/history.ts:24
The fetch shape the history source uses; pass your own for proxies or tests.
Parameters
Section titled “Parameters”string
string
headers?
Section titled “headers?”Record<string, string>
method?
Section titled “method?”string
signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<{ ok: boolean; status: number; json: Promise<unknown>; }>