fetch_product_first_seen_at

Documentation for eth_defi.tokenised_fund.securitize.backfill.fetch_product_first_seen_at function.

fetch_product_first_seen_at(web3, deployment_block)

Read the naive UTC timestamp for a product deployment block.

Shared lead records carry both the discovery block and its timestamp. The timestamp comes from the same archive endpoint used to locate deployment.

Parameters
  • web3 (web3.main.Web3) – Archive-capable connection for the product chain.

  • deployment_block (int) – First block with the product’s runtime code.

Returns

Naive UTC deployment timestamp.

Return type

datetime.datetime