Skip to content

Documentation / @etherfold/browser / ContractData

Type Alias: ContractData<ABI> ​

ContractData<ABI> = object

Defined in: packages/core/dist/types.d.ts:509

Type Parameters ​

ABI ​

ABI extends Abi

Properties ​

abi ​

readonly abi: ABI

Defined in: packages/core/dist/types.d.ts:510


address ​

readonly address: `0x${string}`

Defined in: packages/core/dist/types.d.ts:511


startBlock? ​

readonly optional startBlock?: number

Defined in: packages/core/dist/types.d.ts:520

Do not look for this contract's logs before here.

NOT a per-event range, and deliberately a different field from RangedAbiEvent.firstBlock: this one is MINIMISED across contracts by defaultFromBlockOf to decide the first block ever fetched, so a per-event range sharing its name or its shape would drag that floor down.