fetch_counter_inventory

Documentation for eth_defi.provider.rpc_counter_maintenance.fetch_counter_inventory function.

fetch_counter_inventory(connection)

Inspect every table, retaining canonical content digests and aggregates.

Digests include all rows, including errors, without exposing messages in operator output. Ordering makes the digest independent of storage layout. The returned inventory is suitable for source/backup equality checks.

Parameters

connection (_duckdb.DuckDBPyConnection) – Open connection owned by the maintenance operation.

Returns

Table schemas, counts, digests and counter summaries.

Return type

dict[str, Any]