decode_bundle_report_event

Documentation for eth_defi.chainlink.bundle_aggregator.decode_bundle_report_event function.

decode_bundle_report_event(*, aggregator_address, topics, data, block_number, block_timestamp, transaction_hash, log_index)

Decode one BundleReportUpdated event.

Parameters
  • aggregator_address (Union[eth_typing.evm.HexAddress, str]) – DataFeedsCache contract emitting the event.

  • topics (list[str | None]) – Event topics containing signature, data id and report timestamp.

  • data (Union[bytes, str]) – ABI-encoded non-indexed bytes bundle value.

  • block_number (int) – Block containing the event.

  • block_timestamp (Optional[datetime.datetime]) – Naive UTC timestamp of the containing block.

  • transaction_hash (str) – Transaction containing the event.

  • log_index (int) – Event position within the receipt.

Returns

Decoded bundle report.

Raises

ValueError – If the topics do not match the expected event.

Return type

eth_defi.chainlink.bundle_aggregator.ChainlinkBundleReport