EtherscanLabelsOptions
Defined in: protocol-approvals-evm/src/labels/etherscan.ts:13
Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”
optionalapiKey?:string
Defined in: protocol-approvals-evm/src/labels/etherscan.ts:15
baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: protocol-approvals-evm/src/labels/etherscan.ts:17
Endpoint or your own proxy (default ETHERSCAN_V2_URL).
cache?
Section titled “cache?”
optionalcache?:LabelCache
Defined in: protocol-approvals-evm/src/labels/etherscan.ts:22
chainId?
Section titled “chainId?”
optionalchainId?:number
Defined in: protocol-approvals-evm/src/labels/etherscan.ts:14
concurrency?
Section titled “concurrency?”
optionalconcurrency?:number
Defined in: protocol-approvals-evm/src/labels/etherscan.ts:24
Parallel requests (default 2; the free tier allows 3–5/s).
explorerUrl?
Section titled “explorerUrl?”
optionalexplorerUrl?:string
Defined in: protocol-approvals-evm/src/labels/etherscan.ts:19
Explorer origin for url (e.g. https://etherscan.io).
fetch?
Section titled “fetch?”
optionalfetch?:FetchLike
Defined in: protocol-approvals-evm/src/labels/etherscan.ts:20
headers?
Section titled “headers?”
optionalheaders?:Record<string,string>
Defined in: protocol-approvals-evm/src/labels/etherscan.ts:21