BlockscoutSourceOptions
Defined in: protocol-approvals-evm/src/sources/blockscout.ts:17
Extends
Section titled “Extends”Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”
optionalapiKey?:string
Defined in: protocol-approvals-evm/src/sources/blockscout.ts:22
Sent as apikey.
baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: protocol-approvals-evm/src/sources/blockscout.ts:19
Instance origin; defaults to BLOCKSCOUT_HOSTS for chainId.
chainId?
Section titled “chainId?”
optionalchainId?:number
Defined in: protocol-approvals-evm/src/sources/blockscout.ts:20
concurrency?
Section titled “concurrency?”
optionalconcurrency?:number
Defined in: protocol-approvals-evm/src/sources/indexer-logs.ts:27
Parallel requests (default 1).
Inherited from
Section titled “Inherited from”IndexerSourceOptions.concurrency
fetch?
Section titled “fetch?”
optionalfetch?:FetchLike
Defined in: protocol-approvals-evm/src/sources/indexer-logs.ts:23
Fetch implementation (default global).
Inherited from
Section titled “Inherited from”headers?
Section titled “headers?”
optionalheaders?:Record<string,string>
Defined in: protocol-approvals-evm/src/sources/indexer-logs.ts:25
Extra request headers (an auth token for a proxy, say).
Inherited from
Section titled “Inherited from”maxRetryWait?
Section titled “maxRetryWait?”
optionalmaxRetryWait?:number
Defined in: protocol-approvals-evm/src/sources/indexer-logs.ts:33
A 429 whose reset is further away than this fails at once with the wait in the message (default 20 000 ms).
Inherited from
Section titled “Inherited from”IndexerSourceOptions.maxRetryWait
perTopic?
Section titled “perTopic?”
optionalperTopic?:boolean
Defined in: protocol-approvals-evm/src/sources/indexer-logs.ts:21
One request per event signature instead of one per range (default false).
Inherited from
Section titled “Inherited from”retries?
Section titled “retries?”
optionalretries?:number
Defined in: protocol-approvals-evm/src/sources/indexer-logs.ts:29
Retries for transient errors and 429s (default 3).
Inherited from
Section titled “Inherited from”retryDelay?
Section titled “retryDelay?”
optionalretryDelay?:number
Defined in: protocol-approvals-evm/src/sources/indexer-logs.ts:31
Base delay between retries, doubled each time; a 429’s reset hint wins when longer (default 1000 ms).