ChainlinkBundleReport
Documentation for eth_defi.chainlink.bundle_aggregator.ChainlinkBundleReport Python class.
- class ChainlinkBundleReport
Bases:
objectA historical Chainlink
BundleReportUpdatedevent.Attributes summary
DataFeedsCache contract that emitted the event.
Feed-specific Chainlink data identifier.
Chainlink report timestamp as Unix seconds.
Feed-specific opaque bundle payload.
Block containing the accepted report.
Naive UTC timestamp of the containing block, when returned by Hypersync.
Transaction hash containing the report.
Event position in the transaction receipt.
Return the report timestamp as a naive UTC datetime.
Methods summary
__init__(aggregator_address, data_id, ...)decode_decimal(index, decimals, *[, signed])Decode a feed-specific numeric bundle field.
- aggregator_address: eth_typing.evm.HexAddress
DataFeedsCache contract that emitted the event.
- data_id: bytes
Feed-specific Chainlink data identifier.
- updated_at: int
Chainlink report timestamp as Unix seconds.
- bundle: bytes
Feed-specific opaque bundle payload.
- block_number: int
Block containing the accepted report.
- block_timestamp: Optional[datetime.datetime]
Naive UTC timestamp of the containing block, when returned by Hypersync.
- transaction_hash: str
Transaction hash containing the report.
- log_index: int
Event position in the transaction receipt.
- property update_time: datetime.datetime
Return the report timestamp as a naive UTC datetime.
- decode_decimal(index, decimals, *, signed=False)
Decode a feed-specific numeric bundle field.
- Parameters
- Returns
Human-readable decimal value.
- Return type
- __init__(aggregator_address, data_id, updated_at, bundle, block_number, block_timestamp, transaction_hash, log_index)
- Parameters
aggregator_address (eth_typing.evm.HexAddress) –
data_id (bytes) –
updated_at (int) –
bundle (bytes) –
block_number (int) –
block_timestamp (Optional[datetime.datetime]) –
transaction_hash (str) –
log_index (int) –
- Return type
None