Skip to content

txLogsBloom

txLogsBloom(logs, common): Bloom

Internal

Creates a bloom filter from the logs.

Parameters

logs: undefined | any[]

The logs to create the bloom filter from.

common

The common object.’)}

common.blockExplorers?

Collection of block explorers

common.blockExplorers.default: ChainBlockExplorer

common.contracts?

Collection of contracts

common.contracts.ensRegistry?: ChainContract

common.contracts.ensUniversalResolver?: ChainContract

common.contracts.multicall3?: ChainContract

common.copy

common.custom?: Record<string, unknown>

Custom chain data.

common.ethjsCommon: Common

common.fees?: ChainFees<undefined | ChainFormatters>

Modifies how fees are derived.

common.formatters?: ChainFormatters

Modifies how data is formatted and typed (e.g. blocks and transactions)

common.id: number

ID in number form

common.name: string

Human-readable name

common.nativeCurrency: ChainNativeCurrency

Currency used by chain

common.rpcUrls

Collection of RPC endpoints

common.rpcUrls.default: ChainRpcUrls

common.serializers?: ChainSerializers<undefined | ChainFormatters, TransactionSerializable>

Modifies how data is serialized (e.g. transactions).

common.sourceId?: number

Source Chain ID (ie. the L1 chain)

common.testnet?: boolean

Flag for test networks

Returns

Bloom

Throws

Defined in

packages/vm/src/actions/txLogsBloom.js:11