Skip to content
docs

EtherscanLabelsOptions

Defined in: protocol-approvals-evm/src/labels/etherscan.ts:13

optional apiKey?: string

Defined in: protocol-approvals-evm/src/labels/etherscan.ts:15


optional baseUrl?: string

Defined in: protocol-approvals-evm/src/labels/etherscan.ts:17

Endpoint or your own proxy (default ETHERSCAN_V2_URL).


optional cache?: LabelCache

Defined in: protocol-approvals-evm/src/labels/etherscan.ts:22


optional chainId?: number

Defined in: protocol-approvals-evm/src/labels/etherscan.ts:14


optional concurrency?: number

Defined in: protocol-approvals-evm/src/labels/etherscan.ts:24

Parallel requests (default 2; the free tier allows 3–5/s).


optional explorerUrl?: string

Defined in: protocol-approvals-evm/src/labels/etherscan.ts:19

Explorer origin for url (e.g. https://etherscan.io).


optional fetch?: FetchLike

Defined in: protocol-approvals-evm/src/labels/etherscan.ts:20


optional headers?: Record<string, string>

Defined in: protocol-approvals-evm/src/labels/etherscan.ts:21