TronHistoryOptions
Defined in: wallet-tron/src/history.ts:33
Options for createTronHistory.
Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”
optionalapiKey?:string
Defined in: wallet-tron/src/history.ts:37
TRON-PRO-API-KEY.
apiUrl?
Section titled “apiUrl?”
optionalapiUrl?:string
Defined in: wallet-tron/src/history.ts:35
TronGrid-compatible root. Default by network: https://api.trongrid.io, https://api.shasta.trongrid.io, https://nile.trongrid.io.
fetch?
Section titled “fetch?”
optionalfetch?:HistoryFetch
Defined in: wallet-tron/src/history.ts:39
network?
Section titled “network?”
optionalnetwork?:TronNetwork
Defined in: wallet-tron/src/history.ts:38
rateLimit?
Section titled “rateLimit?”
optionalrateLimit?:number
Defined in: wallet-tron/src/history.ts:41
Requests per second. Default 1 without a key (TronGrid’s keyless limit), 10 with one.
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: wallet-tron/src/history.ts:43
Per request, ms. Default 15 000.