decode_bundle_data_id_topic

Documentation for eth_defi.chainlink.bundle_aggregator.decode_bundle_data_id_topic function.

decode_bundle_data_id_topic(topic)

Decode an indexed bytes16 feed identifier.

Parameters

topic (str) – 0x-prefixed 32-byte event topic.

Returns

The first 16 bytes containing the feed identifier.

Raises

ValueError – If the topic is not 32 bytes.

Return type

bytes