def METHOD_NAME(
    cls,
    tx_dict: Dict[str, Any],
    protocol: ChainSyncProtocol = ChainSyncProtocol.ON_CHAIN_SYNC,
    protocol_version: int = 1,
    content: Union[str, Dict] = "",
) -> "ChainTxDb":
    return cls(
        hash=tx_dict["hash"],
        chain=Chain(tx_dict["chain"]),
        height=tx_dict["height"],
        datetime=timestamp_to_datetime(tx_dict["time"]),
        publisher=tx_dict["publisher"],
        protocol=protocol,
        protocol_version=protocol_version,
        content=content,
    )